Fork of Working with Time
This example shows a scatter plot of temperature readings over time from the Data Canvas Sense Your City dataset, displayed as circles in an SVG rendered via React. The x-axis uses a time scale with weekly tick labels, while the y-axis shows temperature values from a linear scale. The code leverages d3.scaleTime, d3.scaleLinear, d3.extent, and d3.csv for data loading, alongside React components for reusable axes and marks. Hovering over a circle reveals the timestamp via an SVG title tooltip, and the layout includes rotated and offset axis labels.