Fork of Fork of Fork of Fork of Activity7_Q2
✓ Published0🌍 Public
This visualization displays an area chart of tree species lifespans, with each species plotted along the x-axis and its average lifespan in years along the y-axis. The chart uses `d3.area()` to generate the orange filled area and `d3.scaleBand` and `d3.scaleLinear` for the axes. The data is loaded asynchronously from a CSV file via `d3.csv`. Axis labels and a legend clarify the mapping, while the chart is rendered as an SVG within a responsive container.
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