{"version":"1.0","type":"rich","title":"Load data with React and D3","description":"A React component renders an SVG circle that tracks the mouse position across a 960-by-500 viewport. Using React’s `useState` and `useCallback` hooks, the component updates its state on every `onMouseMove` event, passing the new `clientX` and `clientY` coordinates to the circle’s `cx` and `cy` attributes. The example demonstrates integrating React’s declarative rendering with SVG markup without relying on D3 for data loading or manipulation.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/024a1fa2e03c4beca9cacdad10643843?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}