Fork of 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. The visualization uses d3.scaleTime and d3.scaleLinear to map timestamps and temperatures, with d3.line and the curveBasis curve smoothing the path. It renders as an SVG with gridlines from axis ticks, axis labels, and a centered title. The code parses CSV data, converts temperature to numbers and timestamps to Date objects, then draws the chart using d3.axisBottom and d3.axisLeft.
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