block by SpaceActuary 2a46e03eb7b7e05f48e6251054501244

Sankey from csv with d3.js v4

Full Screen

This is a sankey diagram used as an example in the book D3 Tips and Tricks. 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. It should be taken in context with the text of the book which can be downloaded for free from Leanpub.

forked from d3noob‘s block: Sankey from csv with d3.js

forked from anonymous‘s block: Sankey from csv with d3.js

forked from SpaceActuary‘s block: Sankey from csv with d3.js v4

index.html

sankey.csv

sankey.js