Skip to main content
100%

Fork of Fork of Making a Bar Chart

✓ Published0🌍 Public
Ooliverkendall99@gmail.com
Last edited Apr 30, 2024
Created on Apr 30, 2024

This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` to map population values and country names, with axes customized via `axisBottom` and `axisLeft`. Population values are formatted with `format('.3s')` to abbreviate large numbers, and the data is loaded asynchronously from a CSV file using `d3.csv`. The SVG rendering includes a title and axis label for clarity.

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. It also demonstrates customization of D3 axes.

MIT Licensed

Similar vizzes