Mouse Follower
✓ Published1🌍 Public
A yellow circle follows the mouse across a blank SVG canvas, responding instantly to pointer movement within the viewport. The visualization uses React state and the `useCallback` hook to track client coordinates, updating the circle's `cx` and `cy` attributes through React's declarative rendering. The page loads React 17 and D3 v7 from a CDN, though the interaction relies solely on event handling rather than D3-specific APIs. The minimalist setup with a full-screen, overflow-hidden body ensures uninterrupted tracking.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed