Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
Aadewole-top
Last edited Jul 10, 2021
Created on Jul 10, 2021
Forked from Stylized Bar Chart

This visualization shows the top 10 most populous countries as a horizontal bar chart, with country names on the y-axis and population totals on the x-axis. The chart uses React with D3 v5’s `scaleBand` and `scaleLinear` for positioning, while `AxisBottom` and `AxisLeft` render ticks and labels. Population values are formatted using D3’s `format` function, converting billions to a compact “B” suffix. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv` and styled with the 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