Skip to main content
100%

Temperature in SF Line Chart

✓ Published1🌍 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

MIT Licensed

Similar vizzes