🌍 Public
Viewing a saved revision (read-only)
2115387c80ed43c58d87f912cf80832b
Activity6-Task1
This bar chart displays the 2020 populations of 30 countries in descending order, using a horizontal layout for readability. Built with React and D3 v5, it renders as an SVG using `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis. Data is loaded via `d3.csv` from the provided Activity6_Population-1.csv file, with tick labels formatted using `d3.format` to abbreviate large numbers (e.g., "B" for 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.