Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Worling with time

Public visualization

Worling with time

0 stars2🌍 Public
Jjbruzzo
Last edited Jul 1, 2022
Created on Jul 1, 2022

This visualization plots the weekly temperature of San Francisco over time, using a scatterplot with circles positioned by a time-scaled x-axis and a linear-scaled y-axis. The React app loads the data with the D3 `csv` and `scaleTime` utilities, while `AxisBottom` and `AxisLeft` render SVG grid lines and tick labels. The circles’ tooltips display the day of the week via a `timeFormat` function. Styling is applied through CSS classes on the SVG marks and axes.

AI-generated description

A program that loads in some data using D3 utilities, and uses React state to keep track of the data.

Plotting the SF temeprature dataset

Comments

Sign in to join the discussion.

MIT Licensed