{"version":"1.0","type":"rich","title":"MouseEvent","description":"A circle follows the mouse as it moves across an SVG canvas, with its position updating in real time to mirror the cursor's coordinates. The example demonstrates a React component using the `useState` and `useCallback` hooks to manage the mouse position, while D3 v7's `range` is imported but unused. Mouse events are captured via `onMouseMove` on the SVG element, which calls `setMousePosition` with the `clientX` and `clientY` values from the event, rendering a single circle element that tracks the pointer.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2563ff6ef99b4171a9b43d90a3f168fc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}