Skip to main content
100%

Axes about population

✓ Published0🌍 Public
JJamesHop31
Last edited Jun 10, 2022
Created on Jun 10, 2022
Forked from Customizing Axes

This horizontal bar chart displays the populations of the top ten most populous countries, with each bar colored according to its flag. The data comes from 2018 United Nations estimates, with population values multiplied by 1000 for display. Built with D3 v7, the visualization uses `scaleLinear` and `scaleBand` to map population and country names, while `axisLeft` and `axisBottom` generate the axes. Bar colors are read directly from the CSV file, and tick labels are formatted using D3's `format(".3s")` to abbreviate large numbers.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data is sourced from 2018 estimate from the link: https://esa.un.org/unpd/wpp/download/standard/population/

MIT Licensed

Similar vizzes