{"version":"1.0","type":"rich","title":"Fork of Loading data in React","description":"This example shows a React application that renders an SVG circle which follows the mouse cursor across a 960 by 500 coordinate space. The circle updates its position in real time using React’s `useState` hook to store the mouse coordinates, triggered by the `onMouseMove` event handler on the SVG element. The `useCallback` hook memoizes the event handler, and `ReactDOM.render` mounts the component into the DOM. The visualization demonstrates state-driven rendering with SVG, where every mouse movement causes a re-render that moves the circle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7dbc43d57c5d440c80b546b000b43c4e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}