Skip to main content
100%

setInterval

✓ Published1🌍 Public
MMark Lam
Last edited Nov 5, 2021
Created on Nov 5, 2021
Forked from gme correlation

A 10×10 grid of circles animates smoothly, with each circle’s radius oscillating according to a sine wave that shifts over time. Built with React and D3 v7, the visualization uses `setInterval` to update the frame every 16.6 milliseconds, generating new data via `Math.sin` and binding it through `selectAll` and `.join`. The SVG rendering redraws all circles each tick, with black fills and positions determined by row and column spacing.

AI-generated description

A grid made of d3 elems.

MIT Licensed

Similar vizzes