Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

fpbc

Public visualization

Viewing a saved revision (read-only)

f9dc2e5391ea47e6a665706509c74e30

fpbc

0 stars0🌍 Public
DDavid O'Riordan
Last edited Nov 24, 2023
Created on Nov 24, 2023
Forked from Pathetic Bar Chart

This example visualizes the top 10 most populous countries as a simple bar chart, with each bar’s width proportional to its 2020 population and no axes or labels. The data comes from the United Nations World Population Prospects 2019, fetched via `d3.csv`. React manages the component state, while `scaleBand` and `scaleLinear` from D3 v5 map country names and population values to SVG rectangle positions and widths. The chart intentionally lacks chart furniture, making it a stark, minimal presentation.

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.