A plotting library inspired by ggplot2 in d3.js