Skip to main content
Public

Share visualization

Loading preview…

Fork of 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

Fork of Working with Time

0
Cchar0496
Last edited Apr 16, 2022
Created on Apr 16, 2022
Forked from Working with Time

This example visualizes daily temperature variations in San Francisco using a scatter plot. The chart plots timestamp data on the x-axis against temperature on the y-axis, with each data point rendered as a circle. Built with React and D3 v5, the visualization uses the `scaleTime` and `scaleLinear` functions to map the data domain to pixel coordinates within an SVG. The `csv` function loads the dataset from a remote URL, and custom React components (`AxisBottom`, `AxisLeft`, `Marks`) render the axes and data points, with tooltips displaying the formatted date on hover.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed