Skip to main content
100%

Mouse Follower

✓ Published1🌍 Public
Ddmagarian
Last edited Oct 31, 2021
Created on Oct 31, 2021
Forked from Fork of Hello HTML

A circle inside an SVG follows the mouse cursor in real time. The visualization tracks pointer coordinates and updates the circle's position instantly. Built with React and D3 v7, the app uses the `onMouseMove` event and the `useState` hook to store and render the cursor's `clientX` and `clientY` values. The circle's radius is fixed at 30 pixels.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes