Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
Oownerofthesoul0000@gmail.com
Last edited Feb 3, 2024
Created on Feb 3, 2024
Forked from Pathetic Bar Chart

This example presents the top 10 most populous countries as a bar chart stripped of axes and labels. Using React with hooks, it loads United Nations population data via `d3.csv` and maps it to SVG rectangles scaled by `d3.scaleLinear` for width and `d3.scaleBand` for vertical positioning. The code renders a sparse, bare visualization where bars appear directly in a canvas-like SVG container.

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