block by biovisualize befcdf5922de8654b1451fcf84bedd20

Sankey from CSV II

Full Screen

Create a Sankey diagram from a CSV file. I got most of this code from d3noob’s block, but I added the code to convert the CSV data into the format required by d3-sankey.

Unlike version 1, this version colors the links according to the source.

forked from HarryStevens‘s block: Sankey from CSV II

forked from giguerre‘s block: Sankey from CSV II

index.html

data.csv

sankey.js