🌍 Public
Viewing a saved revision (read-only)
579e35f72f7d4ab48f3d7822c1f089c5
Activity-6_QUESTION-1.1
This bar chart shows the 2000 population for the top 10 countries from a CSV file sourced from a GitHub repository. The visualization uses React with D3 v5 to render SVG elements, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Horizontal bars are colored light green, with a tooltip displaying the formatted population value. The x-axis labels use D3's `format` function to abbreviate large numbers, converting 'G' to 'B' for billions, while the y-axis lists country names.
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.