Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Working with time

Public visualization

Working with time

0 stars1🌍 Public
Ssophievanderhorst
Last edited Sep 7, 2021
Created on Mar 2, 2021

A line chart displays temperature readings over a week, with time on the horizontal axis and temperature on the vertical axis. The visualization uses React to render SVG elements, with D3’s `scaleTime` and `scaleLinear` for scaling, `line` with `curveNatural` for the smoothed path, and `extent` to compute domains. Data comes from a CSV of San Francisco temperatures. Axis components generate ticks using `xScale.ticks()` and `yScale.ticks()`.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed