Skip to main content
100%

Bar Chart

✓ Published0🌍 Public
Llimenzi
Last edited May 18, 2021
Created on May 18, 2021
Forked from Stylized Bar Chart

This bar chart displays the top 10 most populous countries in 2020, with horizontal bars sorted by population. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering SVG rectangles via the `Marks` component. Tooltips show formatted population values using D3’s `format` with SI prefixes. Data comes from the United Nations World Population Prospects 2019, loaded asynchronously with `csv`.

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