Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Working with Time

Public visualization

Working with Time

0 stars0🌍 Public
MMario Ibarra
Last edited Apr 19, 2021
Created on Apr 19, 2021

A line chart visualizes temperature over time for one week in San Francisco, with each day’s timestamp plotted along the x-axis and temperature along the y-axis. React renders SVG elements, while d3.scaleTime, d3.scaleLinear, d3.extent, and d3.line with curveNatural generate the axes and smooth path. Circles mark individual data points, and hover reveals the day via d3.timeFormat. The dataset is loaded as CSV using d3.csv from a GitHub gist.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed