🌍 Public
Viewing a saved revision (read-only)
0c26c4610a9e49049737a0d2d737ceac
Fork of Working with time
This example visualizes temperature over time for a week in San Francisco, showing a smooth line through the data points. The chart is built with React and rendered as an SVG, using the D3.js library (d3.v5) for scales, axes, and the line generation. The line is drawn using the `line` function from D3, with the `curveNatural` method to create a natural cubic spline. The x-axis displays time formatted as abbreviated weekday names, while the y-axis shows temperature values.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City.