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, with timestamps mapped to a time scale and temperatures to a linear scale. The visualization uses d3.csv to load the dataset, then applies d3.area with a curveBasis interpolation to create a smooth, filled area path beneath the temperature trend. Axes are rendered using d3.axisBottom and d3.axisLeft, with custom tick sizes and labels for Time and Temperature. The SVG output includes a title and grid lines, styled via external CSS for clarity.
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