{"version":"1.0","type":"rich","title":"UN Population Bar Chart","description":"This example shows a horizontal bar chart of the top 10 countries by population from the UN’s 2019 dataset. It uses React state to load and store the CSV data, while D3’s `scaleBand`, `scaleLinear`, and `max` utilities compute the bar positions and widths. The SVG bars render across the full window height, sized proportionally to each country’s 2020 population. The code loads the data asynchronously with `d3.csv` and displays a loading message before the chart appears.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dd2d8fa48b1c487ea391fcfd3efca35e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}