D3-4: Line Charts
✓ Published1🌍 Public
A line chart displays one week of temperature data for San Francisco, with time on the x-axis and temperature in Celsius on the y-axis. The visualization uses D3 v7's `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes, and `line` with `curveBasis` to draw a smooth path. The data, sourced from Data Canvas - Sense Your City, is loaded via `csv` and mapped to JavaScript `Date` objects.
AI-generated descriptionThis line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.
MIT Licensed