Skip to main content
Public

Share visualization

Loading preview…

Mouse Follower

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Mouse Follower

0
FFoair
Last edited May 1, 2022
Created on May 1, 2022
Forked from Hello Package.json

A React SVG visualization displays a single circle that follows the mouse cursor across a 960 by 500 canvas. The circle's center coordinates update in real time to match the pointer's clientX and clientY position, which are logged to the console. Using React's useState and useCallback hooks, the app renders a responsive circle with a 20-pixel radius. The visualization relies on React and ReactDOM for state management and SVG rendering, with no data source or external libraries beyond the React framework.

AI-generated description

Mouse Follower

Comments

Sign in to join the discussion.

ISC Licensed