Skip to main content
100%

Fork of Making a Bar Chart

✓ Published0🌍 Public
Aaditikandoi
Last edited May 10, 2022
Created on May 10, 2022
Forked from Making a Bar Chart

This bar chart shows the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The chart uses D3 v5’s scaleLinear and scaleBand to map population values and country names, with axisBottom and axisLeft for tick marks and labels. The data is loaded from a CSV file via d3.csv and rendered as SVG rectangles, with a custom tick formatter that converts numbers from G to B notation.

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