{"version":"1.0","type":"rich","title":"Barchart population","description":"This example visualizes the top 10 most populous countries in 2020 using a horizontal bar chart, with bar lengths proportional to each country's population. The visualization loads UN population data from a CSV file via `d3.csv` and renders the bars as SVG rectangles. React manages the component state and rendering, while D3’s `scaleBand` and `scaleLinear` map country names to vertical positions and population values to bar widths. The code initially displays a loading placeholder until the data arrives asynchronously.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d256547b0f2e4a1da9e1576e1fcd24cd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}