Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pathetic Bar Chart

Public visualization

Fork of Pathetic Bar Chart

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed