🌍 Public
Viewing a saved revision (read-only)
60c89511731e4424817f36b7aa9a193f
Making a Bar Chart
A horizontal bar chart displays the 2019 population estimates for the top 10 most populous countries, sourced from World Population Prospects. The visualization uses d3.csv to load data, d3.scaleLinear and d3.scaleBand for scales, and d3.axisLeft and d3.axisBottom to render axes with formatted tick labels. Bars are drawn as SVG rectangles with heights determined by the band scale’s bandwidth.
AI-generated descriptionThis is a bar chart shows population of the top 10 most populous countries. The data comes from the year 2019 estimates in World Population Prospects 2019