Untitled
✓ Published0🌍 Public
A red circle sits at the center of a full-window SVG canvas. When the mouse enters the circle, a green circle and a black circle appear on top of it, and the red circle transitions its radius to 100 with a 750ms duration. On mouse leave, the circle returns to a radius of 40 and its red fill over 500ms. The example uses D3 v7 to append SVG elements and the `transition` API for animation, while `d3.interpolateRound` is called to compute a rounded interpolation value.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed