Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
HHAORAN CHEN
Last edited May 1, 2021
Created on May 1, 2021
Forked from Pathetic Bar Chart

This example visualizes the top 10 most populous countries as a bar chart with no axes, using raw rectangle widths to encode population values. The bars render via React components inside an SVG, with scales created using d3.scaleBand and d3.scaleLinear. Data loads asynchronously from a CSV of United Nations World Population Prospects 2019, filtered to the first ten rows after fetching with d3.csv. The chart intentionally omits axes and labels, presenting only the bar lengths as a minimal, "pathetic" representation of population distribution.

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