{"version":"1.0","type":"rich","title":"React Draw with Mouse","description":"A React component renders an SVG circle that follows the mouse pointer across a 960×500 canvas. The SVG’s `onMouseMove` event updates React state via `useState`, and `useCallback` memoizes the handler to prevent unnecessary re-renders. The circle’s `cx` and `cy` coordinates are bound to the current mouse position, demonstrating a reactive, declarative drawing interaction. Unlike D3, this example relies solely on React’s state management and SVG’s native event handling to create a live, mouse-driven visualization.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/74a9f7c28dbf4b8e88fdc34f9ff0691a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}