Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published1🌍 Public
Ffaik.binaj@gis-dev.com
Last edited Jan 9, 2024
Created on Jan 9, 2024
Forked from Pathetic Bar Chart

This example displays the top 10 most populous countries as horizontal bars, with population values transformed from UN World Population Prospects 2019 data. The chart uses React to render SVG elements and D3’s `scaleBand` and `scaleLinear` to position bars and map population counts to widths. A bottom axis uses D3’s `format` to abbreviate values, while the left axis lists country names. The `Marks` component adds tooltips via SVG `<title>` elements, and the dataset is loaded asynchronously with `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