🌍 Public
Viewing a saved revision (read-only)
6e07ef11e4c04925bd711d413208624a
Activity6_Question 1
This visualization displays the population of ten countries in the year 2000 as a horizontal bar chart using React and D3 v5. The chart uses `scaleBand` for the categorical country axis and `scaleLinear` for the population values, with bars rendered as SVG rectangles. Data is loaded via `d3.csv` from a raw GitHub URL, and the x-axis labels use `format` to convert large numbers into abbreviated units such as 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.