Skip to main content
100%

Working with Time

✓ Published2🌍 Public
JJohn Huang
Last edited Jun 3, 2021
Created on May 31, 2021
Forked from Scatter Plot

This visualization displays a week of temperature readings in San Francisco as a smooth line chart, with time on the horizontal axis and temperature on the vertical axis. The data is loaded from a CSV file using d3.csv, then rendered as an SVG through React components. The chart uses d3.scaleTime and d3.scaleLinear to map the timestamp and temperature values, while d3.line with curveNatural generates the curved path connecting the data points. Custom axis components and a simple tooltip via SVG title elements are included.

AI-generated description

A program that loads data via d3.

MIT Licensed

Similar vizzes