🌍 Public
Viewing a saved revision (read-only)
1b69e4e367e34ddaa9d911648a39dc22
Activity6_Task1
This horizontal bar chart displays the population of ten countries for the year 2000, sorted alphabetically. Using React and D3 v5, the chart renders SVG bars via scaleBand and scaleLinear, with axis components built from D3’s tick and scale utilities. Population values are loaded from a remote CSV file, formatted using d3.format, and displayed with native tooltips.
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.