Activity 7 Task 1.3
✓ Published0🌍 Public
A horizontal bar chart displays the top 20 countries by 2020 population, using a linear scale for population values and a band scale for country names. The visualization is built with React and D3 v5, loading CSV data via `d3.csv` and rendering SVG rectangles. Axes are generated with custom components using `scaleBand` and `scaleLinear` ticks, while tooltips are provided through SVG `<title>` elements.
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