Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

UN Population 2019 Bar Chart

Public visualization

UN Population 2019 Bar Chart

0 stars1🌍 Public
YYenTingWu
Last edited Jul 8, 2021
Created on Jul 8, 2021
Forked from Pathetic Bar Chart

This example displays the top 10 most populous countries as horizontal bars, with bar length encoding each country’s 2020 population from the UN World Population Prospects 2019 dataset, though no axes or labels guide interpretation. The React app loads CSV data via `d3.csv`, sorts by population, and renders SVG rectangles using `d3.scaleBand` for the y-axis country positions and `d3.scaleLinear` for the x-axis population values. The chart updates when data finishes loading, initially showing a loading message.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

Comments

Sign in to join the discussion.

MIT Licensed