Skip to main content
100%

Activity7_Q2

✓ Published0🌍 Public
VVarshith Peddineni
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from Hello VizHub

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