🌍 Public
Viewing a saved revision (read-only)
45ff8ce8d44e4509967d73acd944a32b
Temperature in San Fransisco
This example shows how temperature in San Francisco varies over time, with a smooth line chart plotting temperature against timestamps on a time-scaled x-axis and a linear y-axis. The chart includes labeled axes, grid lines, and a title. The code uses D3 v5 with `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and a `line` generator with `curveBasis` to render an SVG path. Data is loaded via `csv` from an external dataset and parsed into dates and numbers before rendering.
AI-generated description