Mouse Follower
✓ Published0🌍 Public
A red circle follows the mouse cursor across an SVG canvas, updating its position in real time as the user moves. Built with React and D3 v5, the app uses React’s `useState` and `useCallback` hooks to track mouse coordinates via the SVG `onMouseMove` event, then re-renders the circle’s `cx` and `cy` attributes accordingly. No data source is involved; the visualization simply demonstrates interactive event handling and state-driven rendering with SVG.
AI-generated descriptionProgramme where a circle follows your mouse.
MIT Licensed