🌍 Public
Viewing a saved revision (read-only)
b4935e87e06a49cb840de626193ad7d5
Mouse follower
A black circle follows the mouse cursor across a 960 by 500 SVG canvas. The circle’s position updates in real time using React’s `useState` and `useCallback` hooks, with the `onMouseMove` event handler tracking client coordinates. The SVG circle is rendered via React, while D3 v6 is loaded but not directly utilized in this interactive mouse-follower example.
AI-generated descriptionA program that follows your mouse with a circle. This is a mouse follower using React.