Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Data Visualization

Public visualization

Viewing a saved revision (read-only)

3462498a1f3841098f442dfd92d81daa

Data Visualization

0 stars0🌍 Public
Belay Birhanu Gibina
Last edited Jun 25, 2022
Created on Jun 25, 2022
Forked from HTML Starter

A circle follows the mouse cursor across an SVG canvas, with its position updating in real time as the user moves the pointer. The React component uses the `useState` hook to track mouse coordinates, which are passed to the circle's `cx` and `cy` attributes. The `onMouseMove` event handler updates the state on each movement, while D3 v7 handles the SVG rendering within the React framework.

AI-generated description

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

See also React Starter.