🌍 Public
Viewing a saved revision (read-only)
778eca7f101147f2a031182053f0e249
MouseFollower
A small yellow circle follows the mouse cursor across an SVG canvas. The circle’s position is driven by React state, updated via a `useCallback` handler on the SVG’s `onMouseMove` event, which reads the native event’s `clientX` and `clientY` coordinates. The visualization is rendered using React and D3.js, with a fixed 960×500 viewport and no external dataset.
AI-generated descriptionA program that follows your mouse on the screen