🌍 Public
Viewing a saved revision (read-only)
20fe724ee2f14d8698f600d805cac1dc
Working with Time
A line chart shows temperature readings over one week in San Francisco, with a smooth curve connecting daily data points and circles marking each observation. The visualization uses React to render SVG elements, with D3.js scales handling time and linear mappings. The code employs `scaleTime`, `scaleLinear`, `extent`, and `timeFormat` for axis ticks, while `line` and `curveNatural` generate the curved path. Data comes from a CSV dataset of hourly temperatures, loaded via `csv` and parsed into `Date` objects.
AI-generated descriptionScatter plot of Data Canvas of Your City