Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Working with Time

Public visualization

Viewing a saved revision (read-only)

955b7dde89f74a27bcac317d133cf858

Fork of Working with Time

0 stars0🌍 Public
PPratik Raja
Last edited Aug 12, 2024
Created on Aug 11, 2024
Forked from Working with Time

A line chart plots San Francisco temperature readings over a week, using a natural curve to connect daily data points from the Data Canvas Sense Your City dataset. The React app loads CSV data with d3.csv, maps timestamps with `scaleTime`, and maps temperature values with `scaleLinear`. SVG rendering uses React components for axes and marks, while d3's `line` generator with `curveNatural` draws the path, and native SVG `<title>` elements provide tooltips.

AI-generated description