Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
KKonJoDot
Last edited Oct 23, 2022
Created on Oct 23, 2022
Forked from Pathetic Bar Chart

This example displays the ten most populous countries using a bar chart that intentionally omits axes, result in a "pathetic" visualization. React component renders SVG rectangles, with bar lengths proportional to each country's 2020 population. Data comes from the United Nations World Population Prospects 2019, loaded via D3’s `csv`. The chart uses D3 scales: `scaleBand` for the categorical country labels and `scaleLinear` for the population values. D3’s `ticks()` generates vertical gridlines, though no axis labels or tick text appear.

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