Chapter 1. Getting Started with D3.js

D3.js is an open source JavaScript library that provides the facility for manipulating HTML documents based upon data, using JavaScript as the language for implementing the mapping of data to the documents. Hence, the name D3 (Data Driven Documents). Many consider D3.js as a data visualization library. This may be correct, but D3.JS provides much more to its user than just visualization, such as:

  • Efficient selection of items in the HTML DOM.
  • Binding of data to visual elements.
  • Specifications on handling the addition and removal of data items.
  • The ability to style DOM elements dynamically.
  • Definition of an interaction model for the user with the data.
  • The ability to specify transitions between data visualizations ...

Get D3.js: Cutting-edge Data Visualization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.