🌍 Public
Viewing a saved revision (read-only)
01eab076e57c4c4caa67a4ac0e34b2d9
Fork of D3 Selection Exploration
This example explores D3 data joins and SVG animation as a sine wave drives a changing dataset. A set of circles and connecting lines is redrawn on each frame, with the line stroke-width bound to each circle’s radius. The code uses `d3.select`, `selection.data`, and `.join()` to update shapes, while `d3.range` and `scaleLinear` in `makeData` generate positions and sizes.
AI-generated description