Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
Pprashant birajdar
Last edited Jul 6, 2021
Created on Jul 6, 2021
Forked from Stylized Bar Chart

This bar chart displays the top 10 most populous countries for 2020, using data from the United Nations World Population Prospects 2019. The visualization is built with React and D3 v5, using `scaleBand` for the categorical country labels and `scaleLinear` for the population axis. Each bar is rendered as an SVG rectangle, with tick marks generated by custom `AxisBottom` and `AxisLeft` components. The chart includes formatted population labels in billions and a tooltip showing exact values via the native SVG `<title>` element.

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