Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
Rraphman100
Last edited Aug 8, 2021
Created on Aug 8, 2021

This bar chart displays the populations of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. It uses D3 v5 to load the data from a CSV and render an SVG with linear and band scales. The chart applies `scaleLinear` for the population axis and `scaleBand` for the country categories, while `axisLeft` and `axisBottom` handle tick marks. Population values are formatted in abbreviated units (e.g., "B" for billions) via the `format` API.

AI-generated description

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

MIT Licensed

Similar vizzes