Skip to main content
100%

Fork of Q2_AreaChart

✓ Published0🌍 Public
Aaadesh.pranesh@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024
Forked from Q2_AreaChart

This example shows a dual-series area chart comparing annual oil and gold prices from 2000 to 2020, using data embedded in the script. It renders two overlapping filled regions with distinct colors, strokes, and axes via d3.area, d3.scaleLinear, and d3.axisBottom/axisLeft in an SVG. A lightsteelblue tooltip appears on hover (though no mouse handlers are attached), and the chart uses margins, a combined dataset, and static paths without animation.

AI-generated description
MIT Licensed

Similar vizzes