Pathetic Bar Chart
✓ Published1🌍 Public
A horizontal bar chart displays the ten most populous countries in 2020, with each bar's length proportional to its population. The chart is built with React and D3, loading CSV data via `d3.csv` and rendering SVG rectangles positioned by `d3.scaleBand` and scaled by `d3.scaleLinear`. The D3 maximum utility `d3.max` sets the x-axis domain, and bars are colored with the default fill.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React state to render the data as a radial burst.
MIT Licensed