Fork of Q2_AreaChart
✓ Published0🌍 Public
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 descriptionMIT Licensed