Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse Follower

Public visualization

Mouse Follower

0 stars0🌍 Public
Nnicolekiamichi
Last edited Jan 14, 2022
Created on Jan 14, 2022

A React component renders an SVG circle at the center of a 960×500 canvas. A mouse-move event handler logs the cursor’s client coordinates to the console, but the circle itself remains stationary. The example uses React’s `onMouseMove` prop and D3’s `arc` import, though D3 is not applied to the visualization. The SVG dimensions and circle properties are defined as constants, with no data source or interactive updating of the circle’s position.

AI-generated description

A program that follows your mouthh with a circle.

Comments

Sign in to join the discussion.

MIT Licensed