Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart displays one week of temperature in San Francisco, with time on the x-axis and degrees Celsius on the y-axis. The visualization uses D3 v5’s `csv`, `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render an SVG path. Data from Data Canvas – Sense Your City is plotted as a smooth, maroon curve, with gridlines and labeled axes. The chart’s title, “A Week in San Francisco,” appears above the plot, and the code styles ticks, labels, and the path via external CSS.
AI-generated descriptionThis line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.
Made in this video:
MIT Licensed