Skip to main content
100%

Making a Bar Chart

✓ Published2🌍 Public
Llisacaligagan
Last edited Mar 10, 2019
Created on Mar 10, 2019

This bar chart displays the populations of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects 2017 data. The data is loaded from a CSV file and rendered as SVG rectangles. The visualization uses the D3 v5 library, specifically the `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` APIs to map population values to bar widths and country names to vertical bands. The chart includes labeled axes and bars filled with a steel blue color.

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.

MIT Licensed

Similar vizzes