The D3 library, a free download, can be used to manipulate documents based on data. According to the Data-Driven Documents website, “D3 allows you to bind arbitrary data to a Document Object Model (DOM), and then apply data-driven transformations to the document. For example, you can use D3 to generate an HTML table from an array of numbers. Or, use the same data to create an interactive SVG bar chart with smooth transitions and interaction.”
Getting Started with D3 has six chapters, and they are illustrated with code samples and examples of graphics produced using D3.
- The Enter Selection
- Scales, Axes, and Lines
- Interactions and Transitions
In his conclusion, Mike Dewar, a data scientist at Bitly, offers encouragement and additional resources for digging deeper into D3. “The documentation for D3 is extensive,” he writes, “and is available at http://d3js.org along with a huge gallery of examples. This is an essential resource, both for reference and inspiration.”
His book is also an essential resource, for learning the basics of using D3.
— Si Dunn