🌍 Public
Viewing a saved revision (read-only)
7af20affccab48ab935490a248a150be
Mouse Seguindo
A circle tracks the user's mouse pointer across an SVG canvas, updating its position in real time to follow the cursor. The visualization demonstrates a minimal interactive component built with React's `useState` and `useCallback` hooks to manage and update mouse coordinates. The app listens for mouse movement events on the `<svg>` element and renders the circle with D3's `arc` import, though only the basic circle element is used. It relies on React 16.9 and D3 v5, with rendering handled entirely through SVG.
AI-generated descriptionUm programa que faz o mouse seguir o ponteiro