Skip to main content
100%

Temp in SF Line Chart

✓ Published1🌍 Public
AAngus Hon
Last edited Sep 7, 2019
Created on Sep 5, 2019

This line chart visualizes the temperature in San Francisco over a week, plotting time on the x-axis and temperature on the y-axis with a smooth, curved path and semi-transparent circular markers for each data point. The chart includes labeled axes and a title, rendered in an SVG using D3 v5. The code imports specific D3 modules including `scaleTime`, `scaleLinear`, `line`, `curveBasis`, and `axisBottom`/`axisLeft` to construct the scales and axes. Data is loaded from the Data Canvas - Sense Your City dataset via `csv()`, with timestamps parsed as dates and temperatures as numbers.

AI-generated description
MIT Licensed

Similar vizzes