🌍 Public
Viewing a saved revision (read-only)
744a773a252e4fa0bd2cbfe532a8e7b5
Fork of mouse event
A single SVG circle follows the mouse cursor across a 960-by-500 canvas. The visualization uses React's `useState` and `useCallback` hooks to track pointer coordinates from the `onMouseMove` event, updating the circle's center position in real time. The code imports `range` from d3 but does not use it. The graph is rendered through React's `ReactDOM.render` method, with the SVG container set to hide page overflow.
AI-generated descriptionA bare minimum HTML page.