{"version":"1.0","type":"rich","title":"Starter visualization","description":"This starter example demonstrates a minimal interactive scatterplot built with React and D3, rendering five circles from a local CSV file. Each circle responds to clicks by toggling its fill and stroke to highlight the selected data point. The code uses `useContainerDimensions` with a ResizeObserver to track the container size, then passes that width and height to D3’s `scaleLinear` for positioning. A React state hook (`selectedCircleId`) drives the visual update through a D3 selection with `join`.","provider_name":"VizHub","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/oiwTGKly2QzyAMuMndYy3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\" allow=\"fullscreen\" allowfullscreen></iframe>","width":960,"height":500,"cache_age":3600}