🌍 Public
Viewing a saved revision (read-only)
19b13d17eec646d2a372a3f27d80b7c2
Fork of D3 Selection Exploration
This example demonstrates animated data-driven circles that flow in a sine wave pattern across the screen. The visualization updates at 60 frames per second, with each circle's position and radius changing over time based on a mathematical function. The implementation uses the D3.js library's `select`, `selectAll`, and `.data().join()` API to efficiently bind array data to SVG circle elements. The `vizData` function applies `attr` calls for the `r`, `cx`, and `cy` properties, while a separate `makeData` module generates the dynamic dataset with trigonometric calculations.
AI-generated description