D3

Posted .

Data Driven Documents, aka D3, isn’t a library of functions that create graphs rather it’s a library of helper functions to aid in the creation of graphs. This means it requires more effort to create a graph using d3, so it isn’t appropriate for the exploration of data, but it is less restrictive. Which is why it is often used for interactive data or fancy data visualisation.

Be advised that d3 assumes that the origin is in the top left corner of the screen. This is might lead to y axis manipulations and such being the reverse from what you expect.

So far I have these notes on D3:

Btw this page has the d3 library loaded and there’s an empty #anchor div below so you can easily perform simple experiments using the browser’s developer console.