Skip to main content
100%

Fork of Making a Bar Chart

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

A horizontal bar chart displays the top 10 most populous countries with data from the 2018 United Nations World Population Prospects estimate, with populations in thousands. It uses d3.csv to load data, d3.scaleLinear and d3.scaleBand for scales, and customized axios via d3.axisLeft and d3.axisBottom, including tick formatting that converts values to billions. The SVG rendering includes margins, a title, an axis label, and steelblue bars, with gridlines drawn through axis tick sizing.

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