🌍 Public
Viewing a saved revision (read-only)
e502f23c9ebc4c0ca30aba24634b9cdb
Activity 7
This bar chart shows the populations of 30 countries for 2020, sorted by country name. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map country names and population values to SVG rectangles. Data is loaded via `csv` from a GitHub dataset, with axes rendered through custom React components and formatted using D3’s `format` function.
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.