Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Stylized Bar Chart

Public visualization

Viewing a saved revision (read-only)

8283c08a7c9b4dc2ad701c4995b13141

Fork of Stylized Bar Chart

0 stars0🌍 Public
RRahel Gunaratne
Last edited May 13, 2021
Created on May 13, 2021
Forked from Stylized Bar Chart

This is a bar chart displaying the top 10 most populous countries, sorted by population, using data from the United Nations World Population Prospects 2019. The chart uses React and D3 v5, with scales created via `d3.scaleBand` and `d3.scaleLinear` to map countries and population values to SVG coordinates. Horizontal bars are rendered as SVG rectangles, with hover tooltips showing the formatted population value. Styling is applied via CSS, using the Poppins font and a teal color scheme.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.