Skip to main content
100%

Temperature Visualization

✓ Published0🌍 Public
CCurran Kelleher
Last edited Sep 15, 2017
Created on Aug 24, 2017

This line chart visualizes hourly temperature readings in San Francisco over one week, sourced from the now-defunct Data Canvas - Sense Your City API. The visualization uses an SVG rendering with D3 v4, employing `d3.scaleTime` for the x-axis and `d3.scaleLinear` for the y-axis. A smooth line is drawn using `d3.line` with `d3.curveBasis`, while axis labels and gridlines are styled via custom CSS classes. The data is loaded from a CSV file, with timestamps parsed as JavaScript `Date` objects.

AI-generated description

Part of the video course: D3.js in Motion.

This line chart shows temperature in degrees celcius in San Francisco for one week. The data was collected from the (now defunct) Data Canvas - Sense Your City API.

mit Licensed

Similar vizzes