Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
Zzilvus
Last edited Feb 18, 2020
Created on Feb 18, 2020
Forked from Making a Bar Chart

This bar chart displays the population of the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects 2017. It demonstrates customized D3 v5 axes and a linear scale for population values, with a band scale for country names. The code imports specific APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`, and formats tick labels using `format('.3s')`. Data is loaded from a CSV file and rendered as SVG rectangles with a steelblue fill.

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