Skip to main content
100%

Fork of Fork of Fork of Activity7_Q2

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

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 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