{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"A React and D3 example demonstrates how to track and render the mouse position as an SVG circle that follows the cursor across the full viewport. The code uses React’s `useState` and `useCallback` hooks within an `App` component, handling `onMouseMove` events on an `<svg>` element. The circle’s coordinates update directly from `clientX` and `clientY`, with all dimensions set to `window.innerWidth` and `window.innerHeight`. No external data is loaded; the visualization relies solely on user interaction and SVG rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a9eb124ee707426aab8d59762d29cba2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}