Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 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.

MIT Licensed

Similar vizzes