{"version":"1.0","type":"rich","title":"Interaction in React","description":"A circle inside an SVG element follows the mouse cursor across a 960-by-500 canvas, updating its center position in real time. The React component uses the `useState` hook to store the cursor’s `clientX` and `clientY` coordinates, which are set by the `onMouseMove` event handler on the `<svg>`. The circle’s `cx` and `cy` attributes are bound to this state, and React’s `ReactDOM.render` mounts the component to the `#root` div. The rendering is purely SVG-based, with no external data source.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/81f0c50dd6ef41b4ba36b6491036e886?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}