🌍 Public
Viewing a saved revision (read-only)
6cc1aa4b1343407bb6084dc9d99183c4
Temperature in San Francisco Line Chart
This example visualizes a week of temperature readings in San Francisco as a smooth, curving line chart, with the title “A Week in San Francisco.” The visualization uses d3.csv to load the data and d3.scaleTime and d3.scaleLinear to map timestamps and temperatures to positions. Axes are rendered with d3.axisBottom and d3.axisLeft, including grid lines and rotated labels, while the line itself is drawn as an SVG path using d3.line with a curveBasis interpolation. The chart is styled with custom CSS, including a maroon stroke for the line and large tick labels.
AI-generated description