Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
SShuyu Zheng
Last edited Jan 11, 2021
Created on Jan 11, 2021

This bar chart displays the populations of the top 10 most populous countries, based on 2018 estimates from World Population Prospects 2017. The chart uses D3 v6 with an SVG rendering approach, employing `scaleLinear` for the x-axis and `scaleBand` for the y-axis. Population values, loaded from a CSV file, are scaled by 1000 before being drawn as steelblue rectangles. The visualization includes left and bottom axes using `axisLeft` and `axisBottom`.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in World Population Prospects 2017.

MIT Licensed

Similar vizzes