Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pathetic Bar Chart

Public visualization

Viewing a saved revision (read-only)

e11ebd92847948ee9f71d859d2455c6b

Pathetic Bar Chart

0 stars1🌍 Public
MMohammed Banani | MbDev
Last edited May 6, 2022
Created on May 6, 2022

This example visualizes the top 10 most populous countries from the United Nations World Population Prospects 2019 dataset using a bar chart with no axes. Each country is rendered as an SVG rectangle, with its width proportional to its 2020 population value. The visualization leverages React for component structure and state management, while D3 v5 utilities like `csv`, `scaleBand`, and `scaleLinear` handle data loading and scaling. The bars are positioned vertically with no labels or ticks, emphasizing the raw proportions between countries.

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.