Skip to main content
Public

Share visualization

Loading preview…

React 1. Try

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

React 1. Try

0
Mmachetenwueter
Last edited Aug 7, 2021
Created on May 16, 2021
Forked from Mouse Follower

A React application renders an interactive SVG circle that follows the mouse cursor across a 960x500 canvas. The circle changes color between blue and red on click, and expands by 20 pixels when hovered over. Using React's `useState` and `useCallback` hooks, the component updates the circle's position, fill, and radius based on mouse events. The visualization demonstrates React's declarative rendering with SVG, loading React 16.9.0 from a CDN and drawing the circle via JSX within an `<svg>` element.

AI-generated description

A program that follows your mouse with a circle.

Comments

Sign in to join the discussion.

MIT Licensed