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