Skip to main content
100%

United Nations Population Bar Chart

✓ Published0🌍 Public
Iikerson
Last edited Aug 10, 2021
Created on Aug 10, 2021

This example displays the 2020 population estimates for countries from the United Nations’ 2019 dataset as a horizontal bar chart. React renders SVG rectangles, with D3’s `scaleBand` positioning each country along the y-axis and `scaleLinear` mapping population counts to bar widths. The visualization loads CSV data via `d3.csv` and updates once the data arrives, showing a “Loading…” state beforehand.

AI-generated description

A program that loads in CSS color data using D3 and React and creates a color burst.

MIT Licensed

Similar vizzes