This is the code for Chapter 5, Figure 24 from D3.js in Action to render d3.sankey() (a plugin layout) using a traditional node and edge list as the dataset.
forked from emeeks's block: Ch. 5, Fig. 24 - D3.js in Action
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js