This is the code for Chapter 4, Figure 5 from D3.js in Action showing basic d3.svg.axis() behavior by creating an X- and Y-axis based on the data used to create a scatterplot.