🌍 Public
Viewing a saved revision (read-only)
76e12ea21c5b4867a4ec5b93e059df96
Mouse Follower
A circle traces the user's mouse location within a 960-by-500 SVG canvas, updating its center coordinates live. The React app uses the `useState` hook to store the cursor's `clientX` and `clientY` values from the `onMouseMove` event, and D3 v5 is loaded via unpkg but not directly invoked. The rendering approach relies on ReactDOM to draw the circle with SVG markup, starting from the canvas center.
AI-generated descriptionA program that follows your mouse with a circle