Skip to main content
100%

Fork of SANKEY Experiment

✓ Published0🌍 Public
Ggongxinya
Last edited Jul 3, 2023
Created on Jul 3, 2023
Forked from SANKEY Experiment

A fork of a Sankey experiment visualizes the flow of notifications from "Total Notifications" through "Matched" or "Scrap" categories, using a custom D3.js plugin. The SVG diagram renders rectangular nodes connected by curved links, with colors and opacity indicating flow volume. It employs the `d3.sankey` layout function to compute node positions and link depths, while `d3.nest` organizes nodes by breadth for collision resolution. The code leverages D3's `d3.interpolateNumber` for link curvature and reads data from a static `sankeydata.json` file.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes