{"version":"1.0","type":"rich","title":"UN Population: Rendering Data with React & D3","description":"This example displays UN population data for the top 10 countries in 2020 as horizontal bars rendered in SVG via React. It loads the dataset using `d3.csv`, then uses React’s `useState` and `useEffect` to fetch and store the data. D3’s `scaleBand` and `scaleLinear` map country names and population values to pixel positions and widths, while React maps the data array to `<rect>` elements. The visualization demonstrates a hybrid approach where D3 handles data loading and scaling, and React manages the DOM rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5c9adfc36cc94a859fc5958891849650?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}