🌍 Public
Viewing a saved revision (read-only)
96de8bf2d1674cc78847d47893020e52
Working with Time
This scatter plot uses D3 v6 and React to visualize temperature readings from the Data Canvas Sense Your City dataset over one week. The x-axis uses a time scale with day-based tick formatting, while the y-axis shows temperature values with a linear scale. SVG circles represent individual data points, each with a tooltip showing the timestamp. The code demonstrates how to combine React components with D3 scales, including `scaleTime`, `scaleLinear`, `extent`, and custom axis components for rendering the visualization.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.