Skip to main content
Public

Share visualization

Loading preview…

Working with Time

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Working with Time

0
Hhuashe418
Last edited Mar 22, 2022
Created on Mar 22, 2022

This visualization displays a week of San Francisco temperature data as a smooth time series line chart. The chart uses a React front end to render SVG elements, with D3 v5 providing the scales (`scaleTime`, `scaleLinear`) and the `line` and `curveNatural` generators for the path. Temperature readings from the CSV dataset are plotted against time on the x-axis, with formatted tick labels showing the day of the week. The code reveals the underlying data loading through `csv` and a custom `useData` hook that parses timestamps and numeric values.

AI-generated description

Generate a Time Series Plot of The Temperature Dataset.

Comments

Sign in to join the discussion.

MIT Licensed