Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in SF Scatter Plot

Public visualization

Temperature in SF Scatter Plot

0 stars1🌍 Public
Nntds12
Last edited Mar 23, 2020
Created on Mar 23, 2020

This scatter plot shows the relationship between time and temperature in San Francisco over the course of a week. It uses D3 v5 to create an SVG visualization with a time-scaled x-axis and a linearly-scaled y-axis. The code applies `scaleTime` and `scaleLinear` to map data points, and includes a filled area chart drawn with the `area` and `curveBasis` APIs. Data is loaded via D3's `csv` from a remote URL, with timestamps parsed into `Date` objects.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed