Skip to main content
100%

D3-4: Line Charts

✓ Published1🌍 Public
Bbkopruluoglu3
Last edited Sep 23, 2023
Created on Dec 29, 2022
Forked from D3-3: Scatterplot

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 description

This line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.

MIT Licensed

Similar vizzes