Skip to main content
100%

Fork of Making a Bar Chart

✓ Published0🌍 Public
KKELVIN WAMBUA NZIOKI
Last edited Apr 2, 2023
Created on Apr 2, 2023
Forked from Making a Bar Chart

This bar chart displays the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The visualization uses d3.csv, d3.scaleLinear, d3.scaleBand, d3.axisLeft, d3.axisBottom, and d3.format to render an SVG with labeled axes and a title. A custom tick formatter converts large numbers into abbreviated units, such as billions, while the y-axis labels are cleaned of extra lines. Data is loaded from a local CSV file and rendered with steel-blue bars.

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