Pathetic Bar Chart V0
✓ Published1🌍 Public
The example shows the 20 most populous countries in 2020 as horizontal bars, sorted by population with country labels on the y-axis. It loads CSV data from a GitHub-hosted UN Population dataset using D3’s `csv` utility, then renders SVG rectangles via React. The bar widths are scaled with `d3.scaleLinear` and the y-axis positions with `d3.scaleBand`, with margins applied via an SVG transform.
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!
MIT Licensed