Activity6_Task1
✓ Published0🌍 Public
This visualization shows a horizontal bar chart of population data for 30 countries in 2020, using a categorical y-axis for country names and a linear x-axis for population values. The React app loads CSV data from GitHub via the `csv` function in d3.v5, scales it with `scaleBand` and `scaleLinear`, and renders SVG bars with green fills and blue tick lines. Mouse hover reveals population values through SVG `<title>` tooltips, with axis labels formatted using `format('.2s')` to abbreviate large numbers 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.
MIT Licensed