Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of area chart

Public visualization

Viewing a saved revision (read-only)

e9aaa3c2f6f64c699c0184f02cf5adab

Fork of area chart

0 stars0🌍 Public
Mmadipadiga.raviteja@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from area chart

This example displays an area chart that visualizes yearly sales data from a CSV file. It uses D3.js to load and parse the data, then builds a chart with a steelblue filled area, axes, and labels for Year and Sales. The chart is rendered as an SVG element, with scales and an area generator created via `d3.scaleLinear` and `d3.area`. Axes are added using `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.