Skip to main content
100%

SANKEY Experiment

✓ Published0🌍 Public
Dd3noob
Last edited Nov 27, 2019
Created on Nov 8, 2016

This is a Sankey diagram built with D3 v4, showing the flow of widgets between named sources and targets such as Barry, Frodo, and Alice. The visualization loads its link data from an external CSV file, then constructs nodes and edges dynamically. It uses the `d3.sankey` layout with a custom `sankey.js` implementation to compute node positions and link thicknesses. Nodes are draggable via `d3.drag`, and the diagram is rendered as SVG with semi-transparent links and color-coded node rectangles.

AI-generated description

This is a sankey diagram used as an example in the book D3 Tips and Tricks v4. 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.

mit Licensed

Similar vizzes