Skip to main content
100%

Temperature in SF Line Chart

✓ Published0🌍 Public
KKarkG
Last edited Jul 22, 2020
Created on Jul 21, 2020

This example visualizes a week of temperature measurements in San Francisco as a smooth, maroon area chart. Time runs along the x-axis and temperature along the y-axis, with grid lines and clearly labeled axes. The SVG rendering uses d3.scaleTime and d3.scaleLinear to map data, d3.area with a curveBasis generator to create the filled shape, and d3.axisBottom and d3.axisLeft for ticks. Data is loaded via d3.csv from a remote dataset, with timestamps parsed as dates.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes