UN World Population 2020
✓ Published1🌍 Public
The visualization displays the top 10 most populous countries in 2020 using a horizontal bar chart, with country names on the y-axis and population counts on the x-axis. The bars are drawn as SVG rectangles, scaled via d3.scaleBand and d3.scaleLinear. The chart loads data from a CSV file containing UN population estimates. The React component manages state with useState and useEffect, while d3.csv parses the data and d3.max computes the domain. Gridlines and tick labels are generated using d3's scale ticks.
AI-generated descriptionA program that follows your mouse with a cicle.
MIT Licensed