Skip to main content
100%

Bar Chart

✓ Published0🌍 Public
DDan Sadatian
Last edited Feb 11, 2021
Created on Feb 11, 2021
Forked from Making a Bar Chart

This bar chart visualizes the top 10 most populous countries using 2018 population estimates from the United Nations World Population Prospects 2017 dataset. Built with D3 v5, it renders an SVG with `scaleLinear` and `scaleBand` axes, setting custom tick formatting via `axisBottom` and removing default domain lines. The chart highlights customization of D3 axes, including a title, axis label, and population values formatted in billions. Data is loaded from a CSV file and appended as rectangles to the SVG.

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