Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
NNadia Fankhauser
Last edited Nov 9, 2020
Created on Nov 9, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the top 10 most populous countries for 2020, using horizontal bars to compare population sizes. The visualization is built with React and D3 v5, employing `scaleBand` and `scaleLinear` for positioning, with SVG rectangles rendered as marks. Data comes from the United Nations World Population Prospects 2019 dataset, loaded via `d3.csv`. Hovering over a bar reveals a tooltip with the population value, formatted using `d3.format` to show abbreviations like "B" for billions.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes