Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
Yyingzhe-z
Last edited Mar 15, 2021
Created on Mar 15, 2021
Forked from Pathetic Bar Chart

This visualization presents the top 10 most populous countries as horizontal bars without any axes, making the chart intentionally minimal. The bars are drawn using SVG rectangles whose lengths correspond to each country's 2020 population from the United Nations World Population Prospects 2019 dataset. The code uses React for state management and rendering, alongside D3 v5 functions like `scaleBand` for y-axis positioning and `scaleLinear` for width scaling, loading data via `d3.csv`.

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