Skip to main content
100%

Making a Bar Chart

✓ Published2🌍 Public
Nnkohdatavis
Last edited Jul 22, 2020
Created on Jul 22, 2020

This bar chart displays the top 10 most populous countries based on 2020 estimates from the United Nations World Population Prospects. The visualization uses D3 v5’s `scaleLinear` for the population axis and `scaleBand` for the country categories, rendering an SVG with rectangular bars. The code loads data from a CSV file via D3’s `csv` function, multiplies the raw values by 1000, and draws axes with `axisLeft` and `axisBottom`.

AI-generated description

This bar chart shows population of the top 10 most populouse countreis. The data comes from the year 2020 estimate in United nations: World Population Prospects 2019

MIT Licensed

Similar vizzes