-
Book Overview & Buying
-
Table Of Contents
Learn D3.js - Second Edition
By :
In this final section, we continue with the second part of the tutorial started in Chapter 9. The goal is to add colors and basic interactive features. It will allow the user to filter countries by continent and show tooltips when over a dot. Then we will encode one more dimension of data to transform it into the bubble chart shown in Figure 10.21.
Figure 10.21 – The bubble chart created in the second part of the scatterplot tutorial. Code: StepByStep/10-final/
The tutorial is divided into five steps, starting from the last step completed in Chapter 9. The StepByStep2/ directory contains subdirectories with versioned files created and altered in each step, except for the data file which can be found in data/un_regions_2017.csv. You can code while you read or run the code created or modified for each step in the StepByStep/ folder. The final version is in StepByStep/final/ and contains features...