Skip to main content
100%

D3 course - working with time

✓ Published5🌍 Public
JJames Rhodes
Last edited Apr 5, 2022
Created on Mar 28, 2022
Forked from Iris Scatterplot

This example visualizes a week of San Francisco temperatures in degrees Celsius using a line chart with a gradient stroke and colored scatter points. It shows temperature fluctuations over time, with each point offering a tooltip displaying the exact date and rounded temperature. The visualization is built with React and D3 v7, using `scaleTime` and `scaleLinear` for axes, `d3.line` with curve interpolation for the path, and a custom `linearGradient` for the stroke. Data is loaded asynchronously via `d3.csv` from a GitHub gist.

AI-generated description
MIT Licensed

Similar vizzes