Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse follower

Public visualization

Viewing a saved revision (read-only)

aa09b3e1cb3642168a6265bd07d76738

Mouse follower

0 stars0🌍 Public
FFreektenDoesschate
Last edited Aug 28, 2021
Created on Aug 28, 2021

A small SVG circle follows the mouse as it moves across a 960-by-500 canvas, updating its position live in response to pointer events. The visualization is built with React (16.9.0) and uses the `useState` and `useCallback` hooks to track and update the mouse coordinates, which are passed as the circle’s `cx` and `cy` attributes. The rendering remains minimal, with no data source or additional interaction beyond the direct mouse tracking.

AI-generated description

Mousy mouse