{"version":"1.0","type":"rich","title":"rendering data with react & D3","description":"This example displays a horizontal bar chart of the top 10 countries by 2020 population, drawn as SVG rectangles. The visualization loads CSV data from a remote URL using D3’s `csv` utility, then React’s `useEffect` and `useState` manage the asynchronous data fetch and render the chart. D3’s `scaleBand` and `scaleLinear` map country names and population values to pixel coordinates, while React maps each data row to a `<rect>` element. The chart uses a minimal, unstyled SVG output with a large “Loading…” text before data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e6ddd3fb9c7b40c5961d3828c515aeef?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}