Working with time
✓ Published0🌍 Public
This example visualizes a week of temperature readings from the Data Canvas Sense Your City dataset, plotting temperature against time in a scatter plot. The visualization uses D3’s `scaleTime` and `scaleLinear` to map data to SVG coordinates, with React rendering the axes and circular marks. The bottom axis labels days via `timeFormat` (`%a`), while each circle includes a native SVG `<title>` tooltip showing the formatted timestamp. The data is loaded asynchronously with `d3.csv` and parsed into `Date` objects.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.
MIT Licensed