🌍 Public
Viewing a saved revision (read-only)
4e22d0a4654e4f24b8c2588e68cf1782
Activity6_population
This bar chart displays the population of ten countries in the year 2000, with horizontal bars representing each nation’s population size. The visualization uses React to render SVG elements, while D3 v5 handles data loading, scaling, and axis generation through `scaleBand`, `scaleLinear`, and custom `AxisBottom` and `AxisLeft` components. Population values are loaded from a CSV file via `d3.csv`, formatted with `d3.format`, and displayed with tooltips showing the precise figures.
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.