🌍 Public
Viewing a saved revision (read-only)
640c82bd62034baab3041e1abc5f3767
Activity 6_task1
A horizontal bar chart displays the 2020 populations of 30 countries, sorted along a linear scale. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and SVG `rect` elements for bars. Data is loaded via `d3.csv` from a GitHub-hosted CSV, with population values formatted using `d3.format`.
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.