Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
SShawn Kearney
Last edited Jan 5, 2020
Created on Jan 4, 2020

This bar chart visualizes the population of the top 10 most populous countries, using 2019 estimates from the United Nations World Population Prospectus. The chart displays population on a linear scale along the x-axis and country names on a band scale along the y-axis, with each bar colored steel blue. Built with D3 v5, it uses `d3.csv` to load data, `scaleLinear` and `scaleBand` for scaling, and `axisLeft` and `axisBottom` for labeled axes. The SVG rendering includes margin-based layout and implied padding between bars.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2019 estimate in United Nations: World Population Prospectus 2019.

MIT Licensed

Similar vizzes