This is the code for Chapter 11, Figure 4 from D3.js in Action showing how to draw geodata using d3.geo.path().context().