🌍 Public
dv2020-ep27-viz27 - line graph (step two)
Zzach b.
Last edited Mar 17, 2023
Created on Mar 17, 2023
Forked from dv2020-ep26-viz26 - line graph (step one)
This visualization displays daily temperature variations in San Francisco over a week, using a line graph with circular markers that show exact values on hover. It employs React and D3 v5's `scaleTime`, `scaleLinear`, and `line` with `curveCardinal` to plot timestamps against temperatures, rendered as SVG elements. The chart includes labeled axes for time and temperature, with data sourced from the Sense Your City dataset, and uses custom axis components for tick generation and styling.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.