A8 - Edge Bundling with a Slider
✓ Published0🌍 Public
DDuc Pham
Last edited Mar 31, 2024
Created on Mar 31, 2024
Forked from A8 - edge-bundling for the node-link diagram
This example visualizes edge bundling for the node-link diagram of the Zachary Karate Club dataset, rendered as an SVG with circular node labels and bubbles. A slider titled “Edge Bundling Tension” adjusts the curve interpolation in real time, updating the paths via `d3.curveBundle.beta()` as the user drags it. The code uses `d3.cluster()` for hierarchical layout, `d3.radialLine()` for curved links, and `d3.scaleLinear()` to map node values to bubble radii. Data is loaded as JSON from a GitHub gist.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed