Skip to main content
100%

Working with Time

✓ Published1🌍 Public
HHollyClarke19
Last edited Mar 22, 2021
Created on Mar 22, 2021

This scatterplot shows temperature readings from the "data canvas sense your city" dataset over a one-week period in San Francisco. The visualization uses D3 v6 scales (`scaleTime` and `scaleLinear`) to map timestamps and temperatures to SVG circle positions, with axes rendered as custom React components (AxisBottom, AxisLeft). The code loads CSV data via `d3.csv`, formats time ticks with `timeFormat('%a')`, and includes native SVG `<title>` elements as tooltips showing each point's day.

AI-generated description

A plot showing the 'data canvas sense your city' dataset using D3 and React.

MIT Licensed

Similar vizzes