Skip to main content
100%

Untitled

✓ Published0🌍 Public
Ssamemurk21
Last edited Sep 26, 2019
Created on Sep 26, 2019
Forked from Stylized Bar Chart

This bar chart displays the top 10 most populous countries in 2020, using horizontal bars to compare population sizes. The visualization loads data from a United Nations World Population Prospects 2019 CSV file via d3.csv, then renders it with React and SVG. The code uses d3.scaleBand for the y-axis, d3.scaleLinear for the x-axis, and d3.format to abbreviate tick labels (e.g., converting billions to "B"). Each bar includes a native SVG title tooltip showing the population value, with axes and labels rendered as custom React components.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes