Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

trying more stuff again

Public visualization

Viewing a saved revision (read-only)

596e752957c7442a9da9c166522f005f

trying more stuff again

0 stars1🌍 Public
Ddanilo
Last edited Jul 25, 2022
Created on Jul 25, 2022

A turquoise circle follows the mouse cursor within an SVG canvas, creating a direct positional mapping between pointer movement and the circle’s center. Built with React state and a `useCallback` handler, the `onMouseMove` event updates the circle’s `cx` and `cy` attributes in real time. The visualization uses d3.v5 only for SVG element creation, while React manages the reactive rendering, resulting in a simple interactive tracking effect.

AI-generated description

a cursor which stalks u