🌍 Public
Viewing a saved revision (read-only)
7a4ae905baac4fa1b9c41e5d9b806f42
Activity 6 _Task 1 Tutorial
This bar chart displays the populations of 30 countries for the year 2020, sorted along a vertical band scale with proportional horizontal bars. The visualization uses D3 v5 scaleBand and scaleLinear to map data loaded from an external CSV via d3.csv, while React components handle axis rendering and marks. SVG rectangles represent each country, with a native title element providing tooltips, and axes are formatted using D3’s si-format to abbreviate large numbers.
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.