Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Q2

Public visualization

Viewing a saved revision (read-only)

309a09169fef4d9bbacdf231fb4b99f4

Activity7_Q2

0 stars0🌍 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.