Activity 7
✓ Published0🌍 Public
This bar chart displays the 2020 population for 20 countries, with horizontal green bars sorted by country name. Built with React and D3 v5, it uses `d3.scaleBand` and `d3.scaleLinear` for axes, and formats tick labels with `d3.format`. Data is loaded from a remote CSV via `d3.csv`, and SVG rectangles render each mark with a tooltip.
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