Skip to main content
100%

Bar Chart with react and d3

✓ Published1🌍 Public
MMohammed Banani | MbDev
Last edited May 7, 2022
Created on May 7, 2022

This bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019, with a horizontal layout and axes for comparison. The visualization is built with React and D3 v5, rendering SVG elements via React components. It uses `scaleBand` for the categorical country axis and `scaleLinear` for the population scale, with formatted tick labels converting billions to “B” notation. The chart includes a bottom axis and left labels, styled with the Nunito font, and omits gridlines beyond the axis ticks.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes