Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart

Public visualization

Line Chart

0 stars0🌍 Public
Yyuzhang21
Last edited Sep 23, 2019
Created on Sep 23, 2019

This line chart displays temperature readings over time from the Data Canvas Sense Your City dataset, with a smooth natural curve connecting data points. The chart uses React components to render SVG elements, with d3.scaleTime and d3.scaleLinear handling the x and y axes respectively. The d3.line generator applies the curveNatural interpolation to create the smooth path, while d3.timeFormat formats the day labels on the bottom axis.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed