🌍 Public
Viewing a saved revision (read-only)
4d693bf8b33a4777ae47e164295a6f08
Mouse Follower
A small orange circle follows the mouse cursor as it moves across an SVG canvas. The visualization uses React with the `useState` hook to track the cursor’s `clientX` and `clientY` coordinates from the SVG `onMouseMove` event, updating the circle’s `cx` and `cy` attributes accordingly. Rendered as SVG within a React component, it demonstrates cursor tracking and reactive state updates. D3 and ReactDOM are also imported in the page setup.
AI-generated descriptionA program that follows your mouse with a circle