Skip to main content
100%

Temperature in San Francisco Area Chart

✓ Published0🌍 Public
PPenguin-jpg
Last edited Sep 17, 2023
Created on Sep 17, 2023

This area chart visualizes a week of temperature data in San Francisco, with time on the x-axis and temperature on the y-axis. The chart uses a smooth curved line to connect data points, along with gridlines and axis labels for clarity. The code loads data from a CSV file, parses timestamps and numeric temperatures, and renders the visualization using D3 v7 APIs including `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with a basis curve. The SVG output is styled with custom CSS for typography and line appearance.

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