activity 6_Q1
✓ Published0🌍 Public
A horizontal bar chart displays the top 30 countries by 2020 population, sorted in descending order. The chart uses React components with D3 v7 scales (d3.scaleLinear and d3.scaleBand) to map population values and country names to SVG rectangles. Data is fetched from a CSV file via d3.csv, with a fallback dataset if the fetch fails. Axes show population in millions, and the bars use a teal fill with rounded corners.
AI-generated descriptionMIT Licensed