activity 6_Task 1
✓ Published0🌍 Public
This interactive bar chart displays the 2020 populations of the top 30 countries, with each country’s value encoded as a horizontal bar’s length. Built with React and SVG, the visualization uses D3 v5 scales (`scaleBand` for the categorical axis, `scaleLinear` for the numeric axis) and `format` to abbreviate population labels (e.g., “B” for billions). Data is loaded asynchronously from a CSV via D3’s `csv` and parsed into numeric population values, with marks rendered as colored rectangles.
AI-generated descriptionMIT Licensed