🌍 Public
Viewing a saved revision (read-only)
c0e577e0186f4301a07400467415691e
Fork of Q2_Activity_7
A horizontal bar chart displays the populations of 20 countries in 2010, sorted alphabetically with a green fill and blue axes. The visualization uses React to render SVG elements, with D3 v5 scales (`scaleBand`, `scaleLinear`) and formatting (`format`) to compute bar positions and abbreviate tick labels like "1.5B". Data loading is handled by D3's `csv` parser, fetching a remote CSV and multiplying the raw 2010 values by 1000 to represent actual population counts.
AI-generated descriptionA demonstration of how to start using D3 version 6.