Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pathetic Bar Chart

Public visualization

Fork of Pathetic Bar Chart

0 stars0🌍 Public
AAndreas Sjödin
Last edited Mar 3, 2022
Created on Mar 3, 2022
Forked from Pathetic Bar Chart

This visualization displays the top 10 most populous countries as a minimalist bar chart, intentionally omitting axes and labels to emphasize the raw data. The bars render as SVG rectangles using React components, with D3’s `scaleBand` and `scaleLinear` mapping country names and population values to screen coordinates. Population data comes from the United Nations World Population Prospects 2019, loaded via D3’s `csv` function. The code also logs data to the console, though only the visual output is shown to the viewer.

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