Activity_6 question_1.2
✓ Published0🌍 Public
This horizontal bar chart displays the populations of 20 countries for the year 2010, sorted by country name. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map data from a CSV file loaded via `d3.csv`. The SVG rendering includes custom `AxisBottom` and `AxisLeft` components, with bars colored light green and tooltips showing formatted population values.
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