Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
AAWkmonroe
Last edited Oct 29, 2020
Created on Oct 29, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the top 10 most populous countries, using horizontal bars to represent population values. The data comes from the United Nations World Population Prospects 2019, accessed via a CSV. The visualization uses React with D3 v5, specifically leveraging `d3.scaleBand` for the y-axis, `d3.scaleLinear` for the x-axis, and `d3.format` to convert large numbers into abbreviations like "B" for billions. The chart is rendered as an SVG, with interactive tooltips showing population on hover via `<title>` elements.

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