Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in SF

Public visualization

Temperature in SF

0 stars1🌍 Public
Sstevensmithj
Last edited Apr 3, 2022
Created on Feb 8, 2022
Forked from Iris Data Set

This visualization displays the temperature in San Francisco over time, using a line chart with points to show daily measurements. The data is loaded from a CSV file using D3’s `csv` utility, and the plot is rendered as an SVG via a React component. The x-axis represents time, formatted with `timeFormat(‘%a’)`, while the y-axis shows the temperature scale. The chart uses `scaleLinear` and `scaleTime` for scaling, and the line is drawn with `curveCardinal` smoothing.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.

Comments

Sign in to join the discussion.

MIT Licensed