Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar char

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed