Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published1🌍 Public
RRubens
Last edited Sep 10, 2018
Created on Sep 10, 2018

This line chart visualizes one week of temperature data in San Francisco, with time on the x-axis and degrees Celsius on the y-axis. The code uses d3.csv to load the dataset and d3.scaleTime and d3.scaleLinear to map the data, while d3.line with curveBasis generates a smooth maroon path through the points. Axis labels and a title are added via d3.axisLeft, d3.axisBottom, and SVG text elements. The rendering is done as an SVG, with the data sourced from Gray Area’s Data Canva project.

AI-generated description

This scatter plot shows one week of temperature (in degree Celsius) in San Francisco. The data comes from Date Canva.

MIT Licensed

Similar vizzes