Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart visualizes one week of temperature data in San Francisco, sourced from Data Canvas - Sense Your City. It plots temperature in degrees Celsius against time, with the x-axis labeled “Time” and the y-axis labeled “Temperature.” The code uses d3.scaleTime and d3.scaleLinear for axes, d3.axisBottom and d3.axisLeft for ticks, and d3.line with d3.curveBasis to create the smoothed path. Data is loaded via d3.csv, and the SVG rendering includes a title and styled grid lines.
AI-generated descriptionThis line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.
Made in this video:
MIT Licensed