Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

ea7f6a49888742c0a3fc83f1b97dda6c

Bar Chart

0 stars2🌍 Public
Zzarioualid@gmail.com
Last edited Jun 19, 2024
Created on Jun 19, 2024
Forked from Pathetic Bar Chart

This bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. The visualization uses React and D3 v5, with SVG rendering for the marks and axes. Population values are formatted in billions using D3’s `format` function, while `scaleBand` and `scaleLinear` position the bars. Hovering over each bar reveals a tooltip with the population figure via the native SVG `title` element.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.