🌍 Public
Viewing a saved revision (read-only)
b517b552e0b3455a9f1c5bf8865471bd
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.