Skip to main content
100%

Fork of Fork of Stylized Bar Chart

✓ Published0🌍 Public
KKIRRAN P L
Last edited Dec 7, 2023
Created on Dec 7, 2023

This chart displays the top 10 most populous countries for 2020 using horizontal bars, with countries on the y-axis and population counts on the x-axis. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for positioning and `d3.csv` to load United Nations World Population Prospects 2019 data. Fixed-width SVG rectangles represent each country, while D3's `format` function converts tick labels to abbreviated values like "1.4B". The chart includes styled axes with Poppins font and red bars on a white background.

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