Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperatures in San Francisco LineChart

Public visualization

Viewing a saved revision (read-only)

0c5aa47fea8147fca6a1610839215061

Temperatures in San Francisco LineChart

0 stars2🌍 Public
Aannadehtiarova
Last edited Jan 31, 2021
Created on Jan 31, 2021

This line chart visualizes temperature fluctuations in San Francisco over a week, using a smooth curve to connect data points across time. The horizontal axis represents time, while the vertical axis shows temperature, with grid lines and labeled axes for readability. Built with D3 v6, the code uses `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to generate the SVG path. Data is loaded from a CSV file and parsed into JavaScript `Date` objects, and grid lines are created via tick marks on both axes.

AI-generated description