🌍 Public
Viewing a saved revision (read-only)
c6fdfcfbcaab46d5a3322e15c0ea5b1d
Activity7_Q2
This area chart displays average temperature recordings over time, with a smooth curve drawn through the data points and a filled region beneath. The visualization uses D3 v5’s `area` and `line` generators with `curveBasis` interpolation, mapping years to a `scaleTime` x-axis and temperatures to a `scaleLinear` y-axis, both with gridlines. The code loads CSV data, parses dates with `d3.timeParse`, and renders axes using `axisBottom` and `axisLeft`. Data comes from a GitHub gist, and the SVG output includes styled gridlines and axis labels.
AI-generated descriptionArea chart showcasing the temperature distributions