Fork of Refactored Bar Chart
✓ Published0🌍 Public
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.
MIT Licensed