Skip to main content
100%

SANKEY Experiment2

✓ Published0🌍 Public
BBhavyatulasi
Last edited Apr 2, 2020
Created on Apr 1, 2020
Forked from SANKEY Experiment

This example shows a Sankey diagram tracing the flow of total notifications into matched or scraped categories, then breaking matched notifications into subcategories like XRM, Prodc, PN OTD, and CRB. The diagram uses D3.js version 3.5.17 to render nodes and links as SVG elements with cubic Bézier curves. The layout algorithm iteratively assigns node x-positions by breadth and y-positions by value, using a relaxation process to resolve collisions. The custom `d3.sankey` library handles the node positioning and link depth calculations, while the data is stored in a JSON file with explicit node and link arrays.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes