Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
Ttharanitaran
Last edited Aug 5, 2020
Created on Aug 5, 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, leveraging `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Each bar renders as an SVG rectangle with a native `<title>` tooltip, while axes are generated using custom `AxisBottom` and `AxisLeft` components. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv` and formatted with `format('.2s')` to abbreviate values in 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