Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
Pperformautodev
Last edited Sep 6, 2021
Created on Sep 6, 2021
Forked from Stylized Bar Chart

This bar chart displays the top 10 most populous countries for 2020, sourced from United Nations World Population Prospects 2019 data. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the population values on the x-axis. The SVG rendering includes custom `AxisBottom` and `AxisLeft` components, with tick labels formatted using D3’s `format` to abbreviate millions as “B”. Each bar is a `rect` element with a native SVG `<title>` tooltip, styled with a teal fill and Poppins font.

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