Temperature in SF Line Chart
✓ Published0🌍 Public
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 descriptionAn example including some commonly used features of SVG.
MIT Licensed