Sunkey Test
✓ Published0🌍 Public
This example visualizes COVID-19 transmission pathways as a Sankey diagram, showing flows from a central transmission node to categories like public transit, social contacts, and travel-related locations. The diagram uses draggable nodes and links with stroke widths proportional to flow values, with labels indicating percentages. Built with D3 v4, it employs the `d3.sankey` plugin to compute the layout, renders nodes as SVG rectangles, and uses `d3.drag` for interactive repositioning. Data comes from a local JSON file containing nodes and links, with color mapping via `d3.scaleOrdinal`.
AI-generated descriptionMIT Licensed