🌍 Public
Viewing a saved revision (read-only)
b0f8a4f6f32a4eb9b48e6938dd6dcbc7
Activity6_Population-1
This bar chart displays the population of 30 countries in 2020, sorted by country name. The visualization uses React with D3 v5, rendering SVG bars via the `scaleBand` and `scaleLinear` methods. The `csv` function loads data from a remote CSV file. Tooltips show formatted population values using `format('.2s')`, and axes are generated with custom `AxisBottom` and `AxisLeft` components.
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.