{"version":"1.0","type":"rich","title":"Mouse Follower","description":"A smiling face follows the mouse cursor across an SVG canvas, responding instantly to pointer movement. The example demonstrates a minimal React integration with D3, using React's `useState` and `useCallback` hooks to track mouse coordinates and re-render the circle's position. Rendered as a single SVG circle, it relies on D3 v5's `arc` import, though the visible shape is a simple circle rather than an arc. The code pairs React 16.9 with d3.min.js, updating the circle's `cx` and `cy` attributes via React state on every mousemove event.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9f9a4fc7ec7e46a1ae8d235b3f94ead2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}