{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example shows a bar chart of the top 10 most populous countries, using 2019 estimates from the World Population Prospects dataset. The chart encodes population on a linear scale and country names on a band scale, with axes and tick labels rendered in SVG. The code uses d3.csv to load the data, d3.scaleLinear and d3.scaleBand for scales, and d3.axisLeft and d3.axisBottom for axes. It also formats tick labels using d3.format, replacing “G” with “B” to display values in billions. The chart is styled with custom CSS and a title.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ef4fe7642a6745dca678f318c2b25623?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}