🌍 Public
Viewing a saved revision (read-only)
6a8ee0a55201414687ae77cdaf167991
Activity 6_Task 1
This bar chart displays the 2020 population estimates for thirty countries, using horizontal bars ordered by country name. The visualization relies on D3 version 5's `scaleBand` and `scaleLinear` to map categorical and quantitative data, with React components rendering SVG rectangles. Data is loaded from a remote CSV via D3's `csv` function, and population values are formatted using D3's `format` with SI prefixes, converting values from raw numbers to 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.