Skip to main content
100%

Fork of Fork of Pathetic Bar Chart

✓ Published0🌍 Public
AAbin
Last edited Apr 20, 2021
Created on Apr 20, 2021

This chart displays the top 10 most populous countries as horizontal bars, with bar lengths proportional to each country’s 2020 population. The visualization omits axes, labels, or tick marks, making it deliberately minimal. Built with React and D3 v5, the code uses `scaleBand` for vertical positioning and `scaleLinear` for bar widths, rendering SVG rectangles. Data loads from a United Nations World Population Prospects 2019 CSV via D3’s `csv` function, and the view is updated through React state.

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