Activity-8_Question - 1.2
✓ Published0🌍 Public
A horizontal bar chart displays the 2010 population for 20 countries, sourced from a CSV file accessed via a GitHub URL. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map countries and population values, rendering SVG rectangles for each bar. Axis components generate tick marks and labels, while a D3 `format` function abbreviates large numbers in billions.
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