Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Working with Time

Public visualization

Working with Time

0 stars2🌍 Public
PPhronesis
Last edited Nov 23, 2021
Created on Nov 18, 2021

This visualization shows temperature readings taken multiple times per day over a single week, plotted as a smooth line chart with individual data points. It uses a d3.scaleTime for the x-axis and a d3.scaleLinear for temperature, with CSV data loaded via d3.csv from a remote gist. The React app renders SVG axes and marks, using d3.line with curveCardinal for the path and d3.timeFormat for weekday labels. Hovering over each circle reveals a tooltip with the date, month, and temperature in Celsius.

AI-generated description

Working with d3.scaleTime to display temperatures over days of the week.

Comments

Sign in to join the discussion.

MIT Licensed