🌍 Public
Viewing a saved revision (read-only)
25f8f932aff84d51ac42c7eb23750079
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