Skip to main content
100%

2019 Global Population Stylized Bar Chart

✓ Published0🌍 Public
LLaura Spieker
Last edited Feb 1, 2022
Created on Feb 1, 2022
Forked from Stylized Bar Chart

This example visualizes the top 10 most populous countries in 2019 using a horizontal bar chart, with population values on the x-axis and country names on the y-axis. Each bar includes a tooltip showing the formatted population value. The chart is built with React, rendering SVG elements, and uses D3.js scales (scaleBand and scaleLinear) with the d3.csv loader to fetch United Nations World Population Prospects data, while d3.format formats tick labels from billions to abbreviated strings.

AI-generated description

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

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes