Skip to main content
100%

Fork of Fork of Making a Bar Chart

✓ Published1🌍 Public
Vvipulrohit127@gmail.com
Last edited Jun 1, 2024
Created on Jun 1, 2024

This bar chart displays the population of the top 10 most populous countries based on 2018 United Nations estimates. The D3 v5 code uses `d3.csv`, `scaleLinear`, and `scaleBand` to map population values to horizontal bar lengths and country names to vertical bands. Customized `axisBottom` and `axisLeft` axes include a formatted tick label that converts billions to “B”. The visualization is rendered as an SVG, with bars colored steelblue via CSS.

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