{"version":"1.0","type":"rich","title":"Making a bar chart","description":"This example shows a horizontal bar chart of the 12 most populous countries in 2020, using data from a UN population CSV file. It loads the data with `d3.csv` and renders the bars as SVG rectangles using React. The chart maps country names to the y-axis with `d3.scaleBand` and populations to the x-axis with `d3.scaleLinear`, computing the maximum value with `d3.max` for the domain.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0d173a2544d6419fbe3c5354cd0f5c96?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}