🌍 Public
Viewing a saved revision (read-only)
4ba1b3186acd4fd995ce8374d2f851d8
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.