Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse follower

Public visualization

Viewing a saved revision (read-only)

dc8ce950e40b40209bb24fbf15d66d20

Mouse follower

0 stars0🌍 Public
HHaris Vidimlic
Last edited Feb 15, 2022
Created on Feb 15, 2022

A single eye shape rendered as an SVG circle tracks mouse movement across a 960-by-500 canvas. The example demonstrates mouse-event handling in a React component, logging each move to the console while the circle itself remains fixed at the center. Built with React 16.9 and d3.v7, it uses the `onMouseMove` React event handler and d3’s `arc` import, though the arc function is not applied to the visible circle. The page hides scrollbars via CSS `overflow:hidden`, and the mouse-follower interaction is minimal, showing only the event trigger without updating the circle’s position.

AI-generated description

A bare minimum HTML page.