activity 6_Task 1
✓ Published0🌍 Public
Three horizontally stacked bar charts compare population by country across the years 2000, 2010, and 2020. The visualization uses a React and D3.v5 setup with SVG rendering, employing `scaleBand` and `scaleLinear` to map country categories and population values. Data is loaded from a CSV file via D3's `csv` function, and the charts are titled with their respective years, with tooltips showing formatted population values. The code implements custom `AxisBottom` and `AxisLeft` components for tick rendering.
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