Skip to main content
100%

Bar Chart

✓ Published0🌍 Public
SStarkerRegen
Last edited Jan 20, 2022
Created on Jan 20, 2022
Forked from Pathetic Bar Chart

This bar chart visualizes the top 10 most populous countries from the United Nations World Population Prospects 2019 dataset, using horizontal bars to encode population size. The chart omits axes by design, instead relying on interactive tooltips to display values. Built with React and D3 v5, it uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the x-axis, rendering as an SVG. D3’s `format` function converts large numbers into abbreviated forms like "1.4B" for the tooltips.

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