Skip to main content
100%

area chart

✓ Published17🌍 Public
Vvishnupriya eupuri
Last edited Mar 28, 2024
Created on Mar 27, 2024
Forked from area chart

This area chart displays yearly values loaded from a remote CSV file, using a steelblue filled path to visualize trends over time. Built with D3 v7, the code uses `d3.csv` to fetch data, `d3.scaleLinear` for both axes, `d3.area` to generate the area path, and `d3.axisBottom`/`d3.axisLeft` for the labeled axes. The SVG output includes custom margins, axis titles, and tick formatting.

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