Skip to main content
100%

Pathetic Bar Chart

✓ Published1🌍 Public
TTrustPaul
Last edited Nov 27, 2020
Created on Nov 27, 2020
Forked from Pathetic Bar Chart

This example displays the top 10 most populous countries as a pathetic bar chart with no axes, using React to render SVG rectangles. The chart lacks scales for axes but uses `d3.scaleBand` for vertical positioning and `d3.scaleLinear` for horizontal bar widths based on population values. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. The bars are drawn with React components, and the visualization updates once the CSV data is fetched and sorted by descending population.

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