block by d3noob d0a65a5526872728400758d4b7de582c

Sankey Diagram with v5

Full Screen

The above example is intended to demonstrate drawing a simple Sankey diagram using v5 of d3.js. It uses Jason Davies’ version of the Sankey plugin.

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

forked from d3noob‘s block: Sankey Diagram with v5

index.html

sankey.js

sankey.json