{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example displays the population of the top 10 most populous countries using a horizontal bar chart. It loads data from a CSV file containing 2018 United Nations population estimates, with each bar’s length scaled by population. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` for positioning, along with `axisLeft` and `axisBottom` for tick marks. The code reads the CSV via `d3.csv`, converts population values to thousands, and renders SVG rectangles in a single group with margins.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/43db4527e7e0409c93336b74a97c1767?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}