Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published1🌍 Public
PPenguin-jpg
Last edited Sep 17, 2023
Created on Sep 17, 2023
Forked from Cars Scatter Plot

This line chart visualizes a week of temperature measurements in San Francisco, with time on the x-axis and temperature on the y-axis, including gridlines, axis labels, and a title. The data is loaded from a CSV file and rendered as a smooth curve using D3 v7’s `scaleTime`, `scaleLinear`, `line`, and `curveBasis` generators. Axes are drawn with `axisBottom` and `axisLeft`, while the SVG output is styled via external CSS for ticks, labels, and the maroon stroke of the line path.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes