{"version":"1.0","type":"rich","title":"React callback","description":"A React component renders an SVG circle that follows the mouse cursor across a 960×500 viewport. The app uses React hooks `useState` and `useCallback` to track pointer coordinates from `onMouseMove` events, updating the circle’s `cx` and `cy` attributes. The example demonstrates integrating D3’s `arc` import while relying on React’s declarative rendering for state-driven SVG updates, with a static yellow circle illustrating callback-driven interactivity.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/21ee5a22a08f40e7822380316ac727e9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}