🌍 Public
UN Population Bar Chart
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 descriptionMIT Licensed








Comments
Sign in to join the discussion.