🌍 Public
Viewing a saved revision (read-only)
39f57c5899fd453ebcd85673e58271f9
Stylized Line Chart
This stylized line chart visualizes weekly temperature data from San Francisco as a smooth, flowing curve over time. The chart uses React to render SVG elements, with D3’s `scaleTime` and `scaleLinear` mapping timestamps and temperature values to coordinates, and the `line` generator with `curveNatural` for smooth interpolation. React component helpers `AxisBottom` and `AxisLeft` draw formatted tick marks and labels, while the custom `useData` hook fetches the CSV via `d3.csv`. The minimalist design omits data points, emphasizing the trend with a bold teal stroke.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.