Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published1🌍 Public
Hhugomell
Last edited Jul 28, 2020
Created on Jul 28, 2020

This example shows a line chart of temperature readings over a week in San Francisco, rendered as an SVG using D3 v5. The chart plots timestamps on the x-axis and temperature on the y-axis, with a smooth basis-curve line and labeled axes. It loads CSV data from a remote URL, parses the timestamp strings into Date objects, and applies a time scale for the x-axis and a linear scale for the y-axis. The visualization uses `d3.select`, `d3.csv`, `d3.scaleTime`, `d3.scaleLinear`, `d3.axisLeft`, `d3.axisBottom`, and `d3.line` with a basis curve to draw the smooth path, styled with a steelblue stroke.

AI-generated description

A Minimal Example illustrating the basic structure of a Vizhub visualization.

MIT Licensed

Similar vizzes