block by d3noob d0212d9bdc0ad3d3e45b40d6d012e455

Sankey Diagram with v6

Full Screen

The above example is intended to demonstrate drawing a simple Sankey diagram using v6 of d3.js. It uses the 0.12.3 version of the Sankey plugin.

This is one of the code samples for the update to the book D3 Tips and Tricks to version 6 of d3.js.

index.html

d3-sankey.min.js

sankey.js

sankey.json