Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
Zzahra929
Last edited Nov 26, 2020
Created on Nov 26, 2020
Forked from Making a Bar Chart

A bar chart displays the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. Values are shown in millions, with countries listed along the vertical axis. The visualization uses d3.csv to load data, d3.scaleLinear and d3.scaleBand for scales, and customizes the d3.axisLeft and d3.axisBottom ticks with formatting. Population data is multiplied by 1000 before rendering as styled steelblue SVG rectangles.

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