Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
AAbhijit Roy
Last edited May 14, 2020
Created on May 14, 2020

This bar chart displays the populations of the world’s ten most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` to map population values to horizontal bar lengths and country names to vertical positions. Data is loaded from a CSV file via `d3.csv` and rendered as SVG rectangles. The chart includes left and bottom axes generated with `d3.axisLeft` and `d3.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 United Nations: World Population Prospects 2019.

MIT Licensed

Similar vizzes