Activity 6_Question 2
✓ Published1🌍 Public
A horizontal bar chart displays the 2020 population estimates for 20 countries, ranked from largest population at the top to smallest at the bottom. The visualization uses React with D3 v5 utilities like `scaleBand` and `scaleLinear` to map country names and population values to SVG rectangles. Data is loaded from a remote CSV file via `d3.csv`, and each bar includes a tooltip showing its formatted population value. The chart is rendered as an SVG with labeled axes, including a formatted x-axis displaying values in billions.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed