Activity6_population_Q1.1
✓ Published3🌍 Public
A horizontal bar chart displays the population of ten countries in the year 2000, sorted alphabetically by country name. It uses React components for the SVG rendering, with D3 v5 scales (`scaleBand` and `scaleLinear`) for positioning bars and axes. Data is loaded from a CSV file using D3’s `csv` method, and population values are formatted with `d3.format` for tick labels. The chart includes axis labels for country name and population.
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.
MIT Licensed