Activity 7 Task 1
✓ Published0🌍 Public
A horizontal bar chart displays 2020 population estimates for ten countries, with bars extending rightward from a shared origin. The visualization uses React to render SVG elements, while D3 v5 provides scaleBand for the categorical y-axis, scaleLinear for the quantitative x-axis, and tick formatting via d3.format. The chart loads CSV data from GitHub using d3.csv, and includes blue axis ticks, orange bars, and tooltips showing formatted population values on hover.
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