{"version":"1.0","type":"rich","title":"Interaction with React","description":"A circle follows the cursor as it moves across an SVG canvas. The example demonstrates how React manages interactive state for a simple visualization, using the `useState` and `useCallback` hooks to track mouse coordinates and update the circle's position. React 16.9 renders the SVG element, which listens for `onMouseMove` events and updates the `cx` and `cy` attributes of the circle in real time.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fc9490c1fc694a6bbc4f614471b69826?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}