Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
NNelly-ux10
Last edited Jan 29, 2021
Created on Jan 29, 2021
Forked from Stylized Bar Chart

This bar chart displays the top 10 most populous countries using 2019 United Nations population data, with a horizontal layout and stylized teal bars on a Poppins-font interface. Built with React and D3 v5, it uses `scaleBand` for the country axis, `scaleLinear` for population, and SVG `rect` elements for marks. The axes are rendered through custom `AxisBottom` and `AxisLeft` components with D3’s tick formatting, converting billions to abbreviated labels. Hovering reveals exact population values via native SVG `title` tooltips.

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