{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example visualizes the 2018 population estimates of the ten most populous countries as horizontal bars. The chart uses D3 version 5.6, with an SVG canvas. The code employs D3's `scaleBand` and `scaleLinear` to map country names and population counts to y- and x-coordinates, respectively, while `axisLeft` renders the y-axis labels. Data is loaded asynchronously from a CSV file via `csv()` and parsed into numbers, with each bar’s length encoding the population value.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7bcb7da46ae345e78e3700baccdfc969?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}