Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of area chart

Public visualization

Fork of area chart

0 stars0🌍 Public
Ssalim.mir@outlook.com
Last edited Mar 29, 2024
Created on Mar 29, 2024
Forked from area chart

This area chart visualizes a dataset loaded from a CSV file, showing the relationship between a numeric Year and Value. The chart is rendered as an SVG using D3 v7, with a linear x-scale for years and a y-scale for values. The code uses `d3.csv` to fetch data, `d3.scaleLinear` for axes, and `d3.area` to create the filled region. Axis labels are added via `d3.axisBottom` and `d3.axisLeft`.

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.

Comments

Sign in to join the discussion.

MIT Licensed