This is a sankey diagram used as an example in the book D3 Tips and Tricks v4. It is based on a simpler version here.
It demonstrates the construction of a sankey diagram using d3.js from external csv data that is formatted using just link data and named values.
forked from d3noob's block: Sankey diagram using a csv file with v4
forked from JoePlant's block: Sankey-diagram2 (using a csv file with v4)
https://d3js.org/d3.v4.min.js