🌍 Public
Viewing a saved revision (read-only)
913adf73b43b4f7c8444647c80cd97df
Fork of Fork of D3 Selection
This example displays a set of animated circles moving vertically and changing radius over time, driven by sine functions. The visualization uses D3.js v7 within a React-style structure, with the `vizData` function applying a data-join to update SVG `circle` elements. The animation loops at 60 frames per second via `setInterval`, recalculating positions and sizes based on a time variable. This demonstrates imperative selection and joining techniques on SVG elements, rendering dynamic shapes without external datasets.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.