A Program that follows your mouse with a circle
✓ Published1🌍 Public
A circle follows the mouse cursor across a full-screen SVG canvas, updating its position in real time. The visualization uses React state to track the cursor's clientX and clientY coordinates, triggered by an onMouseMove event handler on the SVG element. Built with React 16.9 and D3 v7, the circle is rendered directly as an SVG `<circle>` element, with its cx and cy attributes bound to the current mouse position. No data source is involved; the interaction is purely event-driven.
AI-generated descriptionA program that follows your mouse witha circle.
MIT Licensed