Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
FFahimeh Saleh
Last edited May 25, 2020
Created on May 25, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the ten most populous countries, using a horizontal bar layout where country names appear on the y-axis and population values extend along the x-axis. The visualization loads its data from the United Nations World Population Prospects 2019 via a CSV file, processed by D3’s `csv` function. Built with React and SVG, the code uses D3’s `scaleBand` for the categorical y-axis, `scaleLinear` for the population scale, and `format('.2s')` to abbreviate large numbers. Tooltips showing formatted population values appear on hover, styled with a 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