This is the code for Chapter 11, Figure 9 from D3.js in Action drawing a force-directed network visualization with 3000 nodes and 1000 edges.