🌍 Public
Viewing a saved revision (read-only)
3df797b8f6844a63ba7b6d1dadcd79ba
ACTIVITY 6 Q 1.1
This bar chart displays the population of ten countries in the year 2000, with bars extending horizontally to represent population values. The visualization uses React to render SVG elements, with D3 v5 functions scaleBand, scaleLinear, max, and format handling the axes and tick formatting. The chart loads data from a remote CSV and converts population values to a readable format using suffix abbreviations like “B” for billions. Styled with light green bars and blue axis lines, it provides a clear comparison of national populations.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.