Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Bar Chart

Public visualization

Viewing a saved revision (read-only)

8f7d174c25934076ab26f1788994abaa

Stylized Bar Chart

0 stars1🌍 Public
Cchamce
Last edited Jun 29, 2021
Created on Jun 29, 2021
Forked from Pathetic Bar Chart

This visualization displays the top 10 most populous countries as horizontal bars, ordered by population, with a labeled x-axis. It uses React with D3.js scales (`scaleBand`, `scaleLinear`) to map country names and population values, and renders SVG rectangles via the `Marks` component. The data, sourced from the UN World Population Prospects 2019, is loaded using D3's CSV loader, and the x-axis ticks are formatted with `.format('.2s')` to display values in billions.

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.