Fork of mouse follower
✓ Published0🌍 Public
A circle follows the mouse cursor across an SVG canvas, redrawing its position in real time. The visualization uses React’s `useState` to track mouse coordinates from `onMouseMove` events, updating the circle’s `cx` and `cy` attributes. It relies on ReactDOM for rendering and imports the `arc` function from D3 v7, though the core interaction is state-driven rather than D3-based.
AI-generated descriptionReact Starter code.
MIT Licensed