🌍 Public
Viewing a saved revision (read-only)
ab9d32c7532b495eabeeaac5d329f3a5
Fork of Area Chart
This fork of a D3 v7 area chart example displays two linked visualizations: a green line chart and a red area chart, both plotting age against monthly income. The code loads CSV data from a GitHub gist, filters invalid entries, and sorts by age before rendering smooth monotone curves on separate SVG elements. Interactive tooltips appear on mouseover of the line chart’s circles, showing the precise age and income values. Both charts share identical linear scales, axes, and margins, with the area chart using the same monotone curve for its filled region.
AI-generated description