Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
Ffaizalmunna
Last edited Aug 9, 2021
Created on Aug 9, 2021
Forked from Pathetic Bar Chart

This example displays the top 10 most populous countries as colored rectangles, with bar width proportional to population and no axes or labels. Built with React and D3 v5, it uses `d3.csv` to load UN World Population Prospects 2019 data, then `scaleBand` for the vertical country positions and `scaleLinear` for horizontal bar lengths. The visualization renders as SVG, updating from a loading state to the final chart once data arrives.

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