Activity7_Q2
✓ Published0🌍 Public
This area chart visualizes the average lifespan of different tree species, using a filled orange path to highlight the data. The code loads CSV data from a GitHub gist, parsing it with a custom row function that converts numeric values. D3 v7 scales and generators, including `scaleBand`, `scaleLinear`, `area`, and `axisBottom`/`axisLeft`, construct the SVG chart, with labeled axes and a legend indicating the measured metric.
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