Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Final Bar Chart

Public visualization

Viewing a saved revision (read-only)

cff8590e988e4735bc20698b5b72b0bd

Final Bar Chart

0 stars0🌍 Public
AAndres Perdomo
Last edited Nov 9, 2023
Created on Nov 8, 2023
Forked from Stylized Bar Chart

This bar chart displays the 20 most populous countries using data from the United Nations World Population Prospects 2019, with population values shown on a linear scale and countries listed on a band scale. The visualization is built with React and D3.js v5, using scaleBand and scaleLinear for positioning. SVG rectangles represent each country, with native <title> elements providing tooltips, and tick formatting converts values to billions using d3.format with the '.2s' specifier. The chart includes labeled axes for population and styled gridlines.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.