🌍 Public
Viewing a saved revision (read-only)
a0e5ad25fd8a4bd381dff5defa87edd0
Activity-6_task-1
This bar chart displays the 2020 populations of 30 countries, sorted along a vertical categorical axis. The visualization uses D3 v5 scales to map population values to horizontal bar lengths and country names to vertical bands. The React-based SVG rendering includes custom axis components that generate tick marks and labels, with a green fill for each bar. Population data is loaded from a remote CSV file, and a tooltip showing formatted population values appears when hovering over each bar.
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.