Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
Bbattlescarredshogun
Last edited Jan 28, 2020
Created on Jan 28, 2020
Forked from Making a Bar Chart

This bar chart displays the 2018 population estimates for the top 10 most populous countries, with data loaded from a local CSV file. Built with D3 v5, it uses `d3.csv`, `scaleLinear`, and `scaleBand` to map populations to bar lengths, while customizing `axisBottom` and `axisLeft` with tick formatting and removed gridlines. The chart’s SVG rendering includes a title, axis label, and steelblue bars, with a companion video tutorial explaining the construction process.

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