block by emeeks 4c80fe802853f12fd0d6

Ch. 2, Fig. 21 - D3.js in Action

Full Screen

This is the code for Chapter 2, Figure 21 from D3.js in Action loading data from an external CSV, measuring one of the fields of that data using d3.max, and then creating a scale based on that measurement to draw the data as a bar chart.

index.html

cities.csv