Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temp in san-francisco Line Plot

Public visualization

Viewing a saved revision (read-only)

9d19bad9c98a462f8a4aa6f115c05d64

Temp in san-francisco Line Plot

0 stars2🌍 Public
PPotikorn
Last edited Feb 21, 2020
Created on Feb 17, 2020

This example visualizes a week of temperature data in San Francisco with a smooth line plot. The time axis displays timestamps, while the vertical axis represents temperature, with a maroon curve connecting the data points. The code uses d3.csv to load the data, d3.scaleTime and d3.scaleLinear for scales, and d3.line with curveBasis for the path. It also creates axes with d3.axisBottom and d3.axisLeft, including grid lines and labels, rendered as SVG within a 960x500 viewport.

AI-generated description