🌍 Public
Viewing a saved revision (read-only)
4e5b844b500d43f79fac4d5f7550a2d0
Activity 6_Questions
This bar chart displays the population of ten countries in the year 2000, drawn as horizontal bars ordered by country name. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, with data loaded via `d3.csv`. SVG rectangles represent values, and axes are rendered with custom React components.
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.