🌍 Public
Viewing a saved revision (read-only)
b888ea12b9314c61ad6fc12c975c98cb
Mouse Tracker Circle
A yellow circle follows the mouse cursor across an SVG canvas. The example demonstrates React state management and event handling within a D3.js context, using the `useState` and `useCallback` hooks to track and update the cursor's `clientX` and `clientY` coordinates. It renders a single circle element that repositions on every `onMouseMove` event.
AI-generated descriptionA bare minimum HTML page.