🌍 Public
Viewing a saved revision (read-only)
4c77a61b930f4182bb7da4b6fa7b7c27
Refactored Bar Chart
A horizontal bar chart displays population estimates for the ten most populous countries in 2020, sourced from UN population data loaded as CSV via `d3.csv`. The React app uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering SVG rectangles through reusable `AxisBottom`, `AxisLeft`, and `Marks` components that map over scales and accessor functions.
AI-generated descriptionA program that loads in some data about css named colors using D3 utitilities, and uses React render the data.