bar chart
✓ Published0🌍 Public
This horizontal bar chart displays the populations of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. Using D3 v5, it employs `scaleLinear` and `scaleBand` to map population values and country names, respectively, while `axisBottom` and `axisLeft` generate the labeled axes. The SVG bars are colored steelblue via CSS, with tick formatting converting numbers to abbreviated units like “B” for billions. Data is loaded from a CSV file using D3’s `csv` parser.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017.
MIT Licensed