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

1
MMinh Luong
Last edited Jan 9, 2022
Created on Jan 9, 2022

A scatter plot displays hourly temperature readings over a week, using a time-based x-axis and a linear y-axis for degrees. Built with React and D3 v5, it renders circles as SVG marks, with axes generated by custom components. The data comes from a CSV file of San Francisco temperatures, loaded via `d3.csv`. Scales are created with `d3.scaleTime` and `d3.scaleLinear`, and tooltips are provided by native SVG `<title>` elements showing formatted time values.

AI-generated description

A scatter plot of The Iris Dataset

Comments

Sign in to join the discussion.

MIT Licensed