Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Viewing a saved revision (read-only)

0d90685cc8d046d4abc672d4adbf48bd

Untitled

0 stars0🌍 Public
HHaileabGH
Last edited Dec 7, 2021
Created on Dec 7, 2021
Forked from Untitled

This interactive bar chart displays the ten most populous countries in the world, using horizontal bars to compare their 2020 population estimates. Built with React and D3 v5, the visualization renders as an SVG, with scales and axes created through `d3.scaleBand` and `d3.scaleLinear`. Data is loaded from a CSV file of the UN World Population Prospects 2019, with population values formatted into billions. The chart includes labeled axes, tick marks, and tooltips that appear on hover for each bar.

AI-generated description

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

Data: United Nations World Population Prospects 2019.