Fork of Fork of Activity7_Q2
✓ Published1🌍 Public
This D3.js v7 example displays an area chart comparing the average height and lifespan of various tree species, with each metric represented as a separate filled area. The code loads data from a GitHub-hosted CSV file using `d3.csv` and maps the fields to categorical and linear scales via `d3.scaleBand` and `d3.scaleLinear`. Areas are generated with `d3.area`, and axes are positioned using `d3.axisBottom` and `d3.axisLeft`.
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