Skip to main content
100%

Country population data

✓ Published1🌍 Public
Sstevensmithj
Last edited Apr 3, 2022
Created on Feb 7, 2022

A horizontal bar chart displays the top 10 countries by population for 2020, sourced from a CSV of UN population data. The chart maps country names to a D3 band scale on the y-axis and population counts to a linear scale on the x-axis. Built with React and rendered as SVG, it uses D3 v5 utilities to load the CSV and format tick labels in compact notation, with each bar’s tooltip showing the population formatted in billions.

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