Making visualization of series data easier with d3.js
D3.js provides d3.map objects to create safe key-value associative arrays.
d3.datacube is a serialized collection of d3.map that allows asynchronous manipulation and built-in operations between maps.
Think of a map as table with only two columns, keys and values. d3.datacube is an extension that allows to create and delete columns dynamically.
Interactive visualization with data series in d3 can result in long loading time. The typical way of loading data with d3 is to load everything before starting to visualize. This approach works for small datasets, but is too time consuming for large datasets. With d3.datacube, it is possible to load only the necessary data to start the visualization, and load the rest of the data series in the background while the first data is visualized. The data visualization appears more quickly in the browser. It is even possible to load new pieces of data on-demand, and get rid of obsolete or deprecated parts of the data.
d3.datacube maps (columns) have a variable and a order parameters.