{"version":"1.0","type":"rich","title":"Barchart","description":"This example shows the ten most populous countries in 2020 as horizontal bars, with bar length proportional to population. It uses React hooks to fetch and parse the United Nations population CSV via D3’s `csv` loader, then renders SVG rectangles scaled by `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis. The chart updates once the data arrives, displaying a loading message before rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/82bf7d36d2704d178baba10aa62176ec?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}