-
Book Overview & Buying
-
Table Of Contents
Learn D3.js - Second Edition
By :
D3 can be used in any environment that runs JavaScript. You can set up a local development environment or use online platforms. A local setup requires downloading the d3.js library, either from the d3js.org site, from a content delivery network (CDN), or using an node package manager (npm) installation script.
The D3 site, shown in Figure 1.2, is a great place to start exploring data visualizations created with this library. It includes detailed documentation, tutorials for all levels, and many interactive examples.
Click any hexagon to load a page with a D3 app and source code. Most are tutorials with GitHub code, published via the Observable platform (observablehq.com), featuring interactive notebooks that allow users to edit code and preview changes in real time. Many of these tutorials were published by creators and key contributors of the D3 library, such as Mike Bostock, Jason Davies, and Philippe Riviere.
Figure 1.2 – The D3.js website (d3js.org) is a showcase of data visualizations created with D3
Before setting up your workspace, take some time to explore these examples and see what types of visualizations you can create with D3.
Now, let’s set up an environment and get started!