Skip to main content
100%

Pathetic Bar Chart

✓ Published0🌍 Public
Ddavmaz
Last edited Oct 28, 2020
Created on Oct 28, 2020
Forked from Pathetic Bar Chart

This example renders the top 10 most populous countries as a minimalist bar chart with no axes, using React to manage state and render SVG rectangles. The code loads population data from the United Nations World Population Prospects 2019 via `d3.csv`, then orders the dataset to the first ten entries. With `d3.scaleBand` for vertical positioning and `d3.scaleLinear` for bar widths, each country’s 2020 population is visualized as a gray rectangle. The chart intentionally lacks labels, ticks, or gridlines, presenting raw data without visual scaffolding.

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