Skip to main content
100%

Co2 H. Tashakori

✓ Published1🌍 Public
Ttashakori16@gmail.com
Last edited Mar 23, 2025
Created on Mar 23, 2025
Forked from Hello VizHub

This stacked area chart visualizes regional CO₂ emissions from 1990 to 2020 using d3.csv-loaded data from a GitHub Gist. It employs d3.stack to compute layers, d3.area to generate SVG paths, and d3.scaleOrdinal with d3.schemeSet2 for region colors. Axes are rendered with d3.axisBottom and d3.axisLeft, while a custom legend maps regions to color swatches.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG (pinned at v6, since this runtime environment only supports UMD, and in v7 D3 dropped UMD support)
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes