Fork of Activity - 6_Question - 1.1
✓ Published3🌍 Public
This example displays a horizontal bar chart of population figures for ten countries in 2010. It uses React and D3 v5 to render SVG elements, with axes and marks built from modular components. The `scaleBand` and `scaleLinear` functions position the bars, while `d3.csv` loads data from a remote GitHub CSV file. Tooltips show formatted population values 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.
MIT Licensed