Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
Zzenoalive
Last edited Apr 20, 2023
Created on Apr 20, 2023
Forked from Stylized Bar Chart

This example visualizes the top 10 most populous countries as a horizontal bar chart, with country names on the y-axis and population on the x-axis. The visualization uses React to render SVG elements, with d3.scaleBand and d3.scaleLinear for positioning, and d3.csv to load UN World Population Prospects 2019 data. Hovering over each bar reveals a tooltip via the native SVG `<title>` element, while d3.format shortens population labels like "1.4B".

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