This is the code for Chapter 3, Figure 2 from D3.js in Action which loads a CSV file and creates a circle and text for each datapoint.