Skip to main content
100%

Working with Time

✓ Published0🌍 Public
AAriana
Last edited Jul 30, 2021
Created on Jul 30, 2021

This example shows a line chart of temperature readings over the course of a week, using a smooth natural curve to connect the data points. The chart plots time on the x-axis with day-of-week labels and temperature on the y-axis. Built with React and D3 v5, it uses `scaleTime` and `scaleLinear` for the scales, `d3.line` with `curveNatural` for the path, and `timeFormat` for axis ticks. Data comes from a CSV of San Francisco sensor temperatures loaded via `d3.csv`.

AI-generated description

A line chart of temperatures over time.

Data: Sensor Temp Data from San Francisco.

MIT Licensed

Similar vizzes