Skip to main content
100%

Temperature in San Francisco Scatter

✓ Published1🌍 Public
Fforeverworld1879
Last edited Mar 14, 2020
Created on Mar 14, 2020

This example shows the temperature in San Francisco over a week, with a timeline on the x-axis and temperature on the y-axis. The visualization renders an area chart that fills the space beneath the temperature curve, using a smooth basis curve to connect daily data points. The code uses d3.csv to load the dataset, d3.scaleTime and d3.scaleLinear for scaling, d3.axisLeft and d3.axisBottom for axes, and the d3.area generator with curveBasis to create the filled path. The chart is drawn as an SVG element with a maroon fill for the area, while circles, though styled, are not appended in the visible code.

AI-generated description

A Week in San Francisco

MIT Licensed

Similar vizzes