🌍 Public
Viewing a saved revision (read-only)
e8ecee29233a4e47a1aa3d3e03a4c2ce
Activity 6_Task1
This bar chart ranks the 30 most populous countries by their 2020 population estimates, with horizontal bars sorted along a categorical y-axis and a linear x-axis. The visualization uses React to render SVG elements, with D3 v5 providing the `scaleBand` and `scaleLinear` scales, axis components, and CSV data loading. Population values are formatted in billions using D3’s `format` function, and each bar includes a tooltip displaying the formatted value. Data comes from a remote CSV file.
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.