Skip to main content
100%

Fork of Fork of Fork of Fork of Activity7_Q2

✓ Published0🌍 Public
VVarshith Peddineni
Last edited Nov 6, 2024
Created on Nov 6, 2024

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes