Fork of Fork of Fork of Activity7_Q2
✓ Published1🌍 Public
This example presents a responsive SVG area chart that compares the average height and lifespan of various tree species. It visualizes two distinct categories over a categorical species axis, using blue and orange filled regions to represent each metric. The chart loads CSV data from a GitHub gist and builds overlapping areas with D3’s `scaleBand`, `scaleLinear`, and `area` generators, while `axisBottom` and `axisLeft` render the axes. The visualization demonstrates asynchronous data loading via `csv` and D3 v7’s modular imports.
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