All examples By author By category About

HarryStevens

Sankey from CSV II

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.