Skip to main content
100%

Fork of D3 Selection Exploration

✓ Published0🌍 Public
Bbarryhillier
Last edited Jan 9, 2023
Created on Jan 9, 2023

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
MIT Licensed

Similar vizzes