Skip to main content
100%

Line Plot

✓ Published1🌍 Public
HHollyClarke19
Last edited Mar 23, 2021
Created on Mar 23, 2021
Forked from Working with Time

This line plot visualizes weekly temperature data from the ‘Data Canvas Sense Your City’ dataset, showing temperature readings over time. The chart uses D3 scales (`scaleTime`, `scaleLinear`) and axes components (`AxisBottom`, `AxisLeft`) to map time to the x-axis and temperature to the y-axis. The data is loaded via D3’s `csv` parser and rendered as a smooth curved line using `line()` with `curveNatural`. The visualization is built with React components, renders as SVG, and includes custom styling for ticks, labels, and the path stroke.

AI-generated description

A line plot showing the 'data canvas sense your city' dataset using D3 and React.

MIT Licensed

Similar vizzes