Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse Follower

Public visualization

Viewing a saved revision (read-only)

b3be47f5f5784a838f1685fd2b8db247

Mouse Follower

0 stars0🌍 Public
Mmanideep905
Last edited Oct 9, 2022
Created on Oct 9, 2022

This example displays a static SVG circle at the center of the viewport, with mouse movement tracked and logged to the console. Built with React and D3, the circle is rendered via JSX inside an SVG element whose onMouseMove handler captures the cursor position. The React event handler logs clientX and clientY coordinates, demonstrating basic event binding and state management without animating the circle itself.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.