mouse follower
✓ Published0🌍 Public
A circle follows the mouse cursor across an SVG canvas, updating its position in real time as the pointer moves. Built with React and D3 v7, the example uses React state to track mouse coordinates via an `onMouseMove` handler, then renders the circle at those coordinates. The SVG viewport is 960 by 500 pixels, and the circle has a fixed radius of 30 pixels, demonstrating a simple interactive pattern without data or animation.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed