Skip to main content
100%

Fork of SF temp area chart

✓ Published0🌍 Public
Wwieswies
Last edited Apr 1, 2022
Created on Apr 1, 2022
Forked from SF temp line chart

This area chart visualizes one week of temperature data in San Francisco, sourced from Data Canvas - Sense Your City. The chart displays temperature in degrees Celsius over time, with a maroon-filled area beneath a line path. The code uses D3 v5's `area` generator with `curveBasis` for smooth rendering, alongside `scaleTime`, `scaleLinear`, `axisLeft`, and `axisBottom` for axes. SVG output is styled with CSS, including large tick labels and an axis label rotated -90 degrees. Data is loaded as CSV and parsed into timestamps and numeric temperatures before rendering.

AI-generated description

This scatter plot shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.

MIT Licensed

Similar vizzes