Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Population by Country - React & D3

Public visualization

Viewing a saved revision (read-only)

8ffc659c88fd4dcd9a534bd7b1c92d33

Population by Country - React & D3

0 stars1🌍 Public
Ddvinubius
Last edited May 27, 2021
Created on May 22, 2021

A horizontal bar chart displays population estimates for 20 countries, with countries listed on the y-axis and population values on the x-axis. The chart uses React components to render SVG elements, while D3 utilities such as `scaleBand`, `scaleLinear`, and `format` handle data scaling and tick formatting. Data is loaded from a CSV via `d3.csv` and originates from the UN World Population Prospects.

AI-generated description

A program that loads in some data about population by country using D3 utilities, and displays the data with React and D3 in a bar chart.

Original data source https://population.un.org/wpp/Download/Standard/Population/