Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
OOlof Ollerstam
Last edited Jul 5, 2022
Created on May 21, 2021
Forked from Stylized Bar Chart

This example shows the top 10 most populous countries as a horizontal bar chart, with population values from the United Nations World Population Prospects 2019. The visualization uses React to render SVG elements, with d3.scaleBand and d3.scaleLinear for positioning, and d3.format to abbreviate tick labels (e.g., “1.4B”). The d3.csv loader imports the data, and native SVG <title> elements provide tooltips on hover.

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