Skip to main content
100%

D3 Selection exploration

✓ Published0🌍 Public
JJuan Corrales Correyero
Last edited Sep 14, 2023
Created on Sep 12, 2023

Animated D3 visualization explores circle selection and layout updates as data changes over time. It renders a dynamic set of circles whose positions, radii, and count oscillate sinusoidally, driven by a timer that updates every frame. The implementation uses D3's `select` API to append an SVG, the `range` utility to generate data, and the `selection.join` method to efficiently synchronize the SVG circle elements with the incoming data. The data is created procedurally in `makeData`, with coordinates and radii derived from sine functions.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes