Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

56e53aaf167b471780a05df3598fe45f

Bar Chart

0 stars0🌍 Public
Hhariveda-git
Last edited Oct 13, 2020
Created on Oct 13, 2020
Forked from Stylized Bar Chart

This visualization displays the top 10 most populous countries using horizontal bars, with country names on the y-axis and population values on the x-axis. It is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering as SVG. Population data comes from the United Nations World Population Prospects 2020, loaded via `d3.csv`, with tooltips showing formatted values. The chart includes styled axes and labels, with a teal fill 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 2020.