Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Temperature in SF Line Chart

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed