🌍 Public
Viewing a saved revision (read-only)
11928d8a16b14b378c1f57a7db83b0be
Fork of Temperature in San Francisco
This example visualizes a week of temperature readings in San Francisco using an area chart that fills the space between a curve and the baseline. The chart includes labeled axes for time and temperature, with gridlines and a title. The code uses D3 v7’s `csv` loader to fetch the dataset, `scaleTime` and `scaleLinear` for scales, `axisBottom` and `axisLeft` for axes, and the `area` generator with `curveBasis` to create the smooth filled path rendered as SVG.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.