Activity6_Task1
✓ Published0🌍 Public
This visualization shows a horizontal bar chart comparing the populations of 30 countries for 2020, sorted by country name. Data is loaded from a CSV file via `d3.csv`. The chart uses React components with D3 scales, arranging bars with `scaleBand` for the y-axis and `scaleLinear` for the x-axis. The SVG output includes custom axes, blue tick lines, and green bars with tooltips, with populations formatted using `d3.format`.
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