Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
Bblenderenderer
Last edited Jan 27, 2021
Created on Jan 27, 2021

This bar chart displays the 2020 population estimates for the top 10 most populous countries, sourced from the United Nations World Population Prospects 2019. It shows the population values along the x-axis and country names on the y-axis. Built with D3 v6, the visualization uses `d3.scaleLinear` for the population scale, `d3.scaleBand` for country positioning, and `d3.axisLeft` and `d3.axisBottom` for customized axes. Data is loaded via `d3.csv` and rendered as SVG rectangles.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2020 estimate in United Nations: World Population Prospects 2019. It also demonstrates customization of D3 axes.

MIT Licensed

Similar vizzes