Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar char

Public visualization

Viewing a saved revision (read-only)

3f78a8c1dc164d7ea22f3b0ce3c73648

Bar char

0 stars1🌍 Public
MMayank Kumar
Last edited Sep 24, 2023
Created on Sep 24, 2023
Forked from Stylized Bar Chart

A bar chart displays the ten most populous countries in 2020, using data from the United Nations World Population Prospects 2019. Horizontal bars encode each country’s population on a linear scale, with formatted axis ticks and a labeled axis. Built with React and D3 v5, the visualization uses `scaleBand` for country positions and `scaleLinear` for population lengths, rendering rectangles as SVG marks with tooltips.

AI-generated description

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

Data: United Nations World Population Prospects 2019.