Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Manoja T9 Q2

Public visualization

Viewing a saved revision (read-only)

4f9699864fef4f45bfa6be5de5b43190

Manoja T9 Q2

0 stars0🌍 Public
Mmanojapopuri@gmail.com
Last edited Apr 17, 2024
Created on Apr 17, 2024
Forked from Hello VizHub

This D3.js area chart visualizes data from a CSV file, showing how category values change across years. The stacked areas use a categorical color scheme, with each band representing a different column from the dataset. The code loads the data via `fetch`, parses it with `csvParse`, and constructs the visualization using `scaleBand`, `scaleLinear`, `stack`, and `area` with `curveMonotoneX`. Axes and labels are added with `axisBottom` and `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.