🌍 Public
Viewing a saved revision (read-only)
0f335ab68c9544d288ac6a4b81b674f6
Fork of Refactored Bar Chart
This example displays the top 10 most populous countries from the United Nations World Population Prospects 2019 dataset as a horizontal bar chart with axes. The React app uses `d3.csv` to load data, `scaleBand` and `scaleLinear` to position bars, and renders SVG via React components for axes and marks. Population values are parsed as numbers and sorted by their 2020 figures.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.