-
Book Overview & Buying
-
Table Of Contents
Learn D3.js - Second Edition
By :
In Chapter 5, we started creating a data visualization to compare the diameters of natural satellites of the planets in the solar system. We loaded the data file, parsed it, filtered selected data, and joined data fields to SVG circles, images, and text to create a static visualization. Now, we will return to this project and transform it into an interactive application with a control panel where the viewer can choose the planets to display, use different scales, and reveal additional information with tooltips.
Start with the last step completed in Chapter 5, in StepByStep/9-static-chart, and follow the remaining steps, editing and running the code as you read. You can access the tutorial in this book’s GitHub repository at /Part2/Chapter06/Tutorial/README.md or download it as a PDF file. The data, including the images, can be found in this chapter’s data/ folder. Extra features are suggested as...