Skip to main content
100%

4:45 bar chart

✓ Published1🌍 Public
Uumgi
Last edited Feb 28, 2021
Created on Feb 28, 2021

This bar chart displays the top 10 countries by projected 2020 population, with horizontal bars sorted by country name. React manages the asynchronous data loading via `useState` and `useEffect`, while D3 utilities `csv`, `scaleBand`, and `scaleLinear` handle parsing and scaling. The chart renders as SVG rectangles, with the data sourced from a UN population CSV fetched from GitHub, and shows a loading state until the data arrives.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes