Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Working with Time

Public visualization

Fork of Working with Time

0 stars0🌍 Public
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