🌍 Public
Viewing a saved revision (read-only)
587396e7b5534f5bb67b552844f54e19
Pathetic Bar Chart
This bar chart displays the top 10 most populous countries based on the UN Population 2019 dataset, using a linear x-scale for population and a band scale for country names. The React app fetches the CSV via `d3.csv`, slices the first 10 rows, and renders SVG rectangles directly in the browser. The chart loads with a "Loading..." placeholder while the data is fetched asynchronously.
AI-generated descriptionReact Starter code.