Skip to main content
100%

UN Population Bar Chart

✓ Published0🌍 Public
SSubhendu Karmakar
Last edited Feb 5, 2024
Created on Feb 5, 2024

This chart displays the total population of the ten most populous countries in 2024, using horizontal bars ordered from largest to smallest. The visualization is built with D3 v7, where `scaleBand` positions the country categories on the y-axis and `scaleLinear` maps population values to bar heights. Data comes from the UN population estimates dataset, filtered to countries only and sorted using `descending`. The chart includes axis labels, a gray background rectangle, and rounded bar dimensions defined through configurable margins and gaps.

AI-generated description
MIT Licensed

Similar vizzes