{"version":"1.0","type":"rich","title":"Interaction with React","description":"This example demonstrates a React-based SVG visualization where a circle follows the mouse pointer across a 960-by-500 viewport. It shows how mouse events and unidirectional data flow manage interactive state in React, using the `useState` hook to track cursor coordinates and `useCallback` for the event handler. The single-circle rendering, with a white inner circle, updates its `cx` and `cy` attributes on every `onMouseMove` event, relying on D3 v6 for SVG utilities and React 16 for component rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/23e379019ef04ba8b00c68d42744d1a4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}