Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Population Bar Chart

Public visualization

Viewing a saved revision (read-only)

c9ab2be7f24f49e4ab1d8e71f9a5c1cb

Population Bar Chart

0 stars2🌍 Public
EElementargeist
Last edited Mar 29, 2020
Created on Mar 27, 2020
Forked from Stylized Bar Chart

This chart displays the 20 most populous countries in 2020 as horizontal bars, with country names on the y-axis and population values scaled along the x-axis. Built with React and D3 v5, it uses `d3.scaleBand` and `d3.scaleLinear` for the axes and renders SVG rectangles. Population figures come from the United Nations’ 2019 World Population Prospects, formatted with d3’s `format` to show billions or millions. Native SVG `<title>` elements provide tooltips on each bar.

AI-generated description

The 20 most populous countries in 2020. The numbers are based on estimates.

Source: United Nations, Department of Economic and Social Affairs, Population Division (2019). World Population Prospects 2019, Online Edition. Rev. 1.

CSV-File: https://gist.github.com/curran/0ac4077c7fc6390f5dd33bf5c06cb5ff

Original Chart: https://vizhub.com/curran/a44b38541b6e47a4afdd2dfe67a302c5