Temperature in San Fran Area Chart
✓ Published1🌍 Public
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 descriptionMIT Licensed