🌍 Public
Viewing a saved revision (read-only)
5ce149e7569046ed948c2858f8cad706
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.