Skip to main content
100%

bar chart

✓ Published0🌍 Public
Ttkreglhn
Last edited Apr 15, 2019
Created on Apr 15, 2019
Forked from bar chart

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 description

This 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

Similar vizzes