Activity6-task1
✓ Published1🌍 Public
This example displays a horizontal bar chart ranking populations of 30 countries in 2020, using green bars with a blue axis grid. The visualization is built with React and rendered as SVG, using D3 v5 scales (`scaleBand`, `scaleLinear`) and `format` for tick labels. Data is loaded via `csv` from a GitHub-hosted CSV file. The chart includes a bottom axis, left category labels, and a "POPULATION-2020" title, with hover tooltips showing 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.
MIT Licensed