Skip to main content
100%

UN Population Data

✓ Published1🌍 Public
LLaura Johnson
Last edited Mar 26, 2021
Created on Mar 19, 2021

A horizontal bar chart displays the populations of ten countries in 2020, sourced from UN data loaded via a CSV file. The visualization uses React to render SVG elements, with D3 v6 scales (scaleBand and scaleLinear) positioning bars and axes. Custom React components handle the axes and bars, with native SVG `<title>` elements providing tooltips. Population values are formatted using D3's `format` function, converting values like billions into abbreviated labels.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render it.

MIT Licensed

Similar vizzes