{"version":"1.0","type":"rich","title":"interaction with react","description":"This example demonstrates a React-based interactive SVG visualization of a smiley face. As the user moves the mouse, a yellow circle with a black border follows the cursor across a 960-by-500 canvas, while two smaller circles remain fixed. The application uses React’s `useState` to track the mouse position and the `onMouseMove` event handler to update coordinates. It renders graphics through SVG elements within a React component, initializing with `ReactDOM.render`. The code references React 16.9.0 from the unpkg CDN.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/425e95f23842425991019684830582ee?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}