Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published1🌍 Public
LLainu Kuruvilla
Last edited Jan 13, 2022
Created on Jan 13, 2022
Forked from Pathetic Bar Chart

This chart displays the top 10 most populous countries in 2020 as horizontal bars, sorted by population, without any axes or labels to indicate values. It uses React’s `useState` and `useEffect` hooks to fetch and process data from the United Nations World Population Prospects 2019 CSV file, then loads it with `d3.csv`. The SVG rendering maps each country’s population to a bar width using `d3.scaleLinear`, while `d3.scaleBand` positions the bars vertically. The visualization intentionally omits axes, making it a “pathetic” bar chart that prioritizes raw shape over quantitative precision.

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