{"version":"1.0","type":"rich","title":"Move current Position","description":"A single circle in an SVG moves fluidly across an 800×500 canvas, tracking the user's mouse position in real time. The circle's center coordinates are updated on every mouse move event using React's `useState` hook, with D3.v7 handling the SVG rendering. The example demonstrates how to combine React's state management with SVG coordinate updates, compensating for the SVG's `transform` translation offset in the event handler.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2aa5381d1c59467bb4b700f10b9b29bf?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}