Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in SF Line Chart

Public visualization

Viewing a saved revision (read-only)

5327667af8f1496db9bd47d43154be5b

Temperature in SF Line Chart

0 stars1🌍 Public
YYF
Last edited Sep 17, 2018
Created on Sep 17, 2018

This example visualizes a week of temperature data in San Francisco using a smooth line chart. The SVG chart maps time on the x-axis and temperature on the y-axis, with clear axis labels and a title. The code uses d3.csv to load the data, d3.scaleTime and d3.scaleLinear for scaling, d3.line with curveBasis for the smoothed line, and d3.axisBottom and d3.axisLeft to render the axes with gridlines.

AI-generated description

a week temp in SF