Skip to main content
100%

Pathetic Bar Chart

✓ Published1🌍 Public
WWolfgang
Last edited Mar 20, 2021
Created on Mar 20, 2021

This example displays the top 10 most populous countries as a simple bar chart with no axes, where each bar’s width is proportional to its 2020 population estimate. The visualization uses React hooks to load and process data from the United Nations World Population Prospects 2019 via `d3.csv`, then renders SVG rectangles with `d3.scaleBand` for vertical positioning and `d3.scaleLinear` for horizontal scaling. The bars are drawn directly without any labels or tick marks, emphasizing the raw comparative sizes.

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