Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
IIlyas Filali
Last edited Sep 17, 2022
Created on Sep 17, 2022
Forked from Pathetic Bar Chart

This example visualizes the ten most populous countries as horizontal bars, with bar length proportional to population. It uses React hooks (useState, useEffect) to load and manage data, and d3’s scaleBand and scaleLinear to position and size SVG rectangles. Population figures come from the United Nations World Population Prospects 2019 CSV, sourced via a gist. No axes or labels are drawn, keeping the chart intentionally bare.

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