Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in San Fran Area Chart

Public visualization

Viewing a saved revision (read-only)

aa61d368c7bf40fd843c2509e4d047c1

Temperature in San Fran Area Chart

0 stars1🌍 Public
Llnfrnzsk
Last edited Jun 8, 2022
Created on Jun 8, 2022

This visualization presents a week of temperature data for San Francisco as an area chart, where the filled region highlights the temperature range over time against a grid of axis ticks. The chart is rendered as SVG using D3 v7, with a time-based x-axis and a linear temperature scale on the y-axis. The code employs d3.area with curveBasis to generate the smooth filled path, alongside d3.axisBottom and d3.axisLeft to construct the axes. Data is loaded from a remote CSV using d3.csv, parsed for timestamps and numeric temperatures, then scaled via d3.scaleTime and d3.scaleLinear.

AI-generated description