Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Refactored Bar Chart

Public visualization

Viewing a saved revision (read-only)

eab3120502d2480b8f622fa0384ca8ad

Fork of Refactored Bar Chart

0 stars1🌍 Public
LLove Wessman
Last edited Jan 20, 2022
Created on Jan 20, 2022

This bar chart displays the top 10 most populous countries for 2020, sourcing data from the United Nations World Population Prospects 2019 via a CSV file. The visualization uses React to render SVG markup, with D3 v5 for data loading and scaling via `csv`, `scaleBand`, and `scaleLinear`. Horizontal bars represent population counts, ordered by country along the y-axis, with axes generated by custom React components that map scale tick values to SVG lines and text.

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.