Skip to main content
100%

Temp in san-francisco Line Plot

✓ Published2🌍 Public
PPotikorn
Last edited Feb 21, 2020
Created on Feb 17, 2020

This example visualizes a week of temperature data in San Francisco with a smooth line plot. The time axis displays timestamps, while the vertical axis represents temperature, with a maroon curve connecting the data points. The code uses d3.csv to load the data, d3.scaleTime and d3.scaleLinear for scales, and d3.line with curveBasis for the path. It also creates axes with d3.axisBottom and d3.axisLeft, including grid lines and labels, rendered as SVG within a 960x500 viewport.

AI-generated description
MIT Licensed

Similar vizzes