🌍 Public
Viewing a saved revision (read-only)
bf8bd89cd02847f684dc93a31815b26c
UN World Population 2020
A horizontal bar chart displays the top 10 most populous countries in 2020 according to UN data. Each bar’s length encodes the country’s population, scaled linearly using `d3.scaleLinear`, while the vertical bands use `d3.scaleBand`. The data loads asynchronously via `d3.csv` from a GitHub gist, and React renders the SVG rectangles. The code imports `csv`, `arc`, `pie`, and `max` from D3 v7.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!