🌍 Public
Viewing a saved revision (read-only)
f28d86b971c24c288e5e8d0c213be202
Temperature in San Francisco Line Chart
RRubens
Last edited Sep 10, 2018
Created on Sep 10, 2018
Forked from Temperature in San Francisco Scatter Plot
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 descriptionThis scatter plot shows one week of temperature (in degree Celsius) in San Francisco. The data comes from Date Canva.