{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example presents a horizontal bar chart of the top 10 countries by population in 2020, using data loaded from a CSV file. The visualization is built with React, which renders SVG elements, while D3 utilities handle data processing and scales. The code uses `scaleBand` for the categorical country axis and `scaleLinear` for the population value axis, mapping data to rectangle dimensions. The chart loads data via `csv` and updates reactively once the data arrives, displaying \"Loading...\" until then.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f2265af5af3b4cddbe12a0a653669412?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}