Skip to main content
100%

Mouse Follower

✓ Published0🌍 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.

MIT Licensed

Similar vizzes