{"version":"1.0","type":"rich","title":"Mouse follower","description":"A single gray circle follows the mouse cursor across an SVG canvas. The example demonstrates how React state and event listeners coordinate with D3 rendering. The `App` component tracks pointer coordinates via an `onMouseMove` handler, storing them in `mousePosition` with `useState` and `useCallback`. On each update, React re-renders the circle using the new `cx` and `cy` properties. The visualization uses React 16.9 and D3 v6, importing only the `arc` function which remains unused in the final code.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/763022413b7441749a911438cbd3c418?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}