Activity 6
✓ Published0🌍 Public
A horizontal bar chart displays 2020 population estimates for 30 countries, sorted by country name. Built with React and D3 v5, the visualization uses SVG rectangles scaled by population using `scaleLinear` and `scaleBand` for axes. Data is loaded from a CSV via `d3.csv`, with tooltips formatted using `d3.format` to abbreviate large numbers.
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