Skip to main content
100%

Working with Time

✓ Published0🌍 Public
Aafcchilders
Last edited Jan 16, 2022
Created on Jan 16, 2022

Working with Time shows temperature readings from a week in San Francisco as a smooth line chart. The visualization uses React to render SVG elements, with D3's `scaleTime` and `scaleLinear` mapping timestamps and temperatures to coordinates. A natural curve connects the data points, which are marked with small circles that display tooltips via SVG `<title>` elements. The CSV data is loaded with D3's `csv` function, while custom axis components and a `line` path generator with `curveNatural` handle the plotting.

AI-generated description

A program that loads in some data about CSS colors

MIT Licensed

Similar vizzes