Skip to main content
100%

Temp Line Plot

✓ Published2🌍 Public
Kkkwyoung
Last edited Aug 7, 2020
Created on Aug 7, 2020
Forked from Scatter Plot

This visualization shows a week of hourly temperature readings in San Francisco as a smooth, firebrick-colored line plotted against time and temperature axes. The line chart is rendered as an SVG using d3.v5, with the time-based x-axis and linear y-axis generated through axisBottom and axisLeft. The code imports specific d3 modules including scaleTime, scaleLinear, axisBottom, axisLeft, and line, applying a curveBasis to the line generator. The csv data is loaded and parsed, with temperature values converted to numbers and timestamps to Date objects.

AI-generated description
MIT Licensed

Similar vizzes