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)

f31d05cce5b244249e2f3f6f275bbcd4

Fork of Stylized Bar Chart

0 stars0🌍 Public
Nnkp1111
Last edited Sep 1, 2022
Created on Sep 1, 2022
Forked from Stylized Bar Chart

This visualization displays the ten most populous countries as horizontal bars, ranked by population with the country name on the y-axis and population count on the x-axis. Hovering over a bar reveals the exact population value in a browser tooltip. The chart is built with React and D3 v5, using `scaleBand` and `scaleLinear` for positioning, with SVG rendered elements. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv` and formatted with a custom tick formatter that converts large numbers to abbreviations.

AI-generated description

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

Data: United Nations World Population Prospects 2019.