Skip to main content
100%

working with time

✓ Published1🌍 Public
Iinnocent thomas
Last edited Oct 23, 2021
Created on Oct 23, 2021

A line chart displays temperature readings over a week in San Francisco, using a natural curve to connect daily data points. The visualization is built with React and D3 v5, leveraging `d3.scaleTime` and `d3.scaleLinear` for axes, while `d3.line` with `curveNatural` generates the smoothed path. Data is loaded as CSV from a remote gist, with timestamps parsed into JavaScript `Date` objects. Styled SVG elements include gray tick marks and teal strokes for the line, with axis labels rotated for clarity.

AI-generated description

stylized line chart . Click to see raw data

MIT Licensed

Similar vizzes