🌍 Public
Viewing a saved revision (read-only)
93fc880be7d643e68cbf7ace5c603095
Mouse Follower
A yellow-outlined circle tracks the mouse pointer across an SVG canvas, moving smoothly as the cursor travels. The visualization uses React's `useState` and `useCallback` hooks to capture mouse coordinates from the SVG's `onMouseMove` event and update the circle's `cx` and `cy` attributes accordingly. The rendering relies on D3 v6 for SVG manipulation within a React framework, with no data source beyond the user's pointer position.
AI-generated descriptionA program that follows your mouse with a circle.