Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

style Bar Chart

Public visualization

style Bar Chart

0 stars1🌍 Public
SSam
Last edited Apr 28, 2021
Created on Apr 28, 2021

This horizontal bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. The visualization renders with React and D3 v5, using D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. SVG rectangles represent each country’s population, with styled tick marks and labels, and a Roboto Mono font applied throughout. The chart includes axis lines with a gray stroke, orange bars, and a clear "Population" label, all constructed programmatically via separate React components for axes and marks.

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.

Comments

Sign in to join the discussion.

MIT Licensed