Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pathetic Bar Chart

Public visualization

Viewing a saved revision (read-only)

0eb6e69142c64928aee1539e0b84be2e

Fork of Pathetic Bar Chart

0 stars0🌍 Public
LLeandro Da Souza
Last edited Mar 29, 2021
Created on Mar 29, 2021
Forked from Pathetic Bar Chart

This visualization displays a bar chart of the 10 most populous countries, with each bar’s length proportional to its 2020 population estimate from the United Nations World Population Prospects 2019 dataset. Rendering as SVG via React, the code uses `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. It loads CSV data with `d3.csv`, parses the population column, and maps each country to a `<rect>` element, notably omitting any axes or labels.

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.