Fork of Working with Time
✓ Published0🌍 Public
This example shows a time-series scatter plot of weekly temperature data from the Data Canvas Sense Your City dataset. The visualization uses a time-scaled x-axis to show temperature readings (y-axis) over a single week, with each point representing an hourly observation. Built with React and D3 v5, the code constructs SVG elements and uses `scaleTime()` for the temporal axis, `scaleLinear()` for the temperature range, and `timeFormat('%a')` to display weekday ticks. Tooltips reveal the exact timestamp for each data point.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.
MIT Licensed