Country population data
✓ Published1🌍 Public
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 descriptionA 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