Activity 6
✓ Published0🌍 Public
This horizontal bar chart ranks the 20 most populous countries in 2010, using a React and D3-based SVG visualization. The chart employs `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the quantitative x-axis, with population values formatted using `toLocaleString`. Data is loaded asynchronously from a CSV file via D3’s `csv` function, then sorted and filtered to the top 20 entries. Each bar includes a native SVG `<title>` tooltip, with axes and labels rendered from custom React components.
AI-generated descriptionMIT Licensed