Skip to main content
Public

Share visualization

Send this visualization to others.

Mouse Follower

Public visualization

By aweisbrod on VizHub

LinkedIn caption

LinkedIn cannot prefill the post text. Copy the caption, then paste it in LinkedIn. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code

The embed preserves the visualization's visibility and project dataset permissions.

Download & exportHTML, source ZIP and authorized project data

Source ZIP contains editable visualization files; it does not include project datasets. Standalone HTML is available where authorized and packages readable referenced data for offline use. Dataset ZIP requires project read permission.

Standalone HTMLSource ZIP
Publishing & handoffCopy a client maintenance summary

Includes the canonical link, visibility, and available export formats. Confirm dataset attribution, licensing and maintenance responsibilities with the publisher.

Mouse Follower

0 stars0Public
Aamandaweisbrod18@gmail.com
Last edited Apr 14, 2025
Created on Apr 14, 2025

A circle follows the mouse cursor across an SVG canvas, with a black outline appearing when the cursor enters the drawing area and disappearing when it leaves. The React application uses the `useState` hook to track mouse coordinates and stroke color, updating the circle’s position via the `onMouseMove` event handler on the SVG element. The code renders the circle purely with React and SVG, relying on clientX and clientY from the mouse event for positioning.

AI-generated description

Following your mouse with a circle.

Comments

Sign in to join the discussion.

MIT Licensed