Skip to main content
100%

A Program that follows your mouse with a circle

✓ Published1🌍 Public
Jjiro2017
Last edited Sep 15, 2021
Created on Sep 15, 2021

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 description

A program that follows your mouse witha circle.

MIT Licensed

Similar vizzes