Skip to main content
Public

Share visualization

Loading preview…

Population Bar Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Population Bar Chart

2
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

Comments

Sign in to join the discussion.

MIT Licensed