Skip to main content
100%

Bubble Chart of Population Data

✓ Published0🌍 Public
Hhimavinaytummala@my.unt.edu
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from Stylized Bar Chart

This example displays the top 10 most populous countries as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, rendering SVG rectangles for each bar. Population data comes from the United Nations World Population Prospects 2019, formatted with D3’s `format('.2s')` to abbreviate large numbers. The visualization includes styled axes and a tooltip using the SVG `<title>` element.

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