🌍 Public
Viewing a saved revision (read-only)
8cb7dc00d1474824a3061f276cebfa9a
Task8_Question1.1_HKK
This visualization shows the populations of ten countries in the year 2000 as horizontal bar charts. Each bar's length is proportional to population, with the x-axis formatted in billions and red tick lines. The React app uses d3.csv to load data from a GitHub-hosted CSV, d3.scaleBand for the y-axis, and d3.scaleLinear for the x-axis. SVG rectangles render the marks, with tooltips displaying formatted values.
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.