This is the code for Chapter 4, Figure 20 from D3.js in Action demonstrating several d3.svg.line() interpolation options.