Skip to content

att/dcplot.js

Repository files navigation

dcplot.js - a minimal interface to dc.js

dcplot.js offers an embedded domain specific language (EDSL) for creating multidimensional charts using d3.js, crossfilter, and dc.js. Its aim is to provide a tool for Exploratory Data Analysis in the browser.

Although dc.js nicely encapsulates the powerful but challenging d3.js library, there are still a lot of chart parameters, many of which can be defaulted or inferred from other parameters or from the data. And it is easy to make a mistake and end up with no output. It is more appropriate for presentation than exploration.

dcplot.js provides a terse JSON-plus-functions declarative language for specifying crossfilter data and charts all at once. Further, when used with RCloud through the wdcplot wrapper, it provides an interactive language akin to ggplot2, to generate linked plots as fast as they can fly off the fingers.