Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

United Nations Population Prospects Data Viz

Public visualization

Viewing a saved revision (read-only)

b319f1262db64e12ac2281f238370fed

United Nations Population Prospects Data Viz

0 stars0🌍 Public
Ccoltonjcox92
Last edited Jan 28, 2022
Created on Jan 26, 2022

This interactive bar chart displays the top ten most populous countries in 2020, based on data from the 2019 United Nations Population Prospects, loaded via a CSV file. The visualization uses React hooks to fetch and manage the data, while D3’s `scaleBand` and `scaleLinear` position and size each rectangular bar within an SVG canvas. The chart renders directly in the browser, with country names on the y-axis and population values mapped to bar widths.

AI-generated description

A program that displays visualizations of the 2019 United Nations Population Prospects