Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 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.

MIT Licensed

Similar vizzes