Activity 7 Task 1
✓ Published2🌍 Public
This bar chart visualizes the population of 30 countries in 2020, with countries listed along the vertical axis and horizontal bars representing population values. The visualization uses React components to render SVG elements, with D3 v5 utilities such as `scaleBand` and `scaleLinear` for positioning, and `d3.csv` for loading data from a GitHub-hosted dataset. Custom reusable axis and mark components generate tick marks and rectangles with tooltips, while a formatted axis converts values from billions to abbreviations.
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.
MIT Licensed