{"version":"1.0","type":"rich","title":"Interaction with React","description":"A React application renders a single circle that tracks the mouse cursor across an SVG canvas. The component uses the `useState` hook to store the cursor's coordinates and updates them through the `onMouseMove` event handler. Each mousemove event triggers `setMousePosition`, causing React to re-render the SVG circle at the new `clientX` and `clientY` positions. The example demonstrates state-driven updates within a React component, using ReactDOM to mount the app and SVG elements for drawing.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dd97287a21524d17bcf0e08da81cdf75?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}