Skip to main content
100%

Fork of Making a Bar Chart

✓ Published0🌍 Public
Mmaavwin
Last edited Mar 7, 2021
Created on Mar 7, 2021
Forked from Making a Bar Chart

This bar chart displays the populations of the ten most populous countries, using 2018 estimates from the United Nations World Population Prospects. The chart shows population values on a linear scale and countries on a band scale, with custom axis formatting converting values to abbreviated units like billions. Built with D3 v5, the code uses `d3.csv`, `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render an SVG, with styled rect elements and labels.

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