Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Stylized Line Chart

Public visualization

Fork of Stylized Line Chart

0 stars0🌍 Public
CCheng Tang
Last edited Oct 31, 2022
Created on Oct 31, 2022

This example visualizes a week of hourly temperature readings from San Francisco, plotting them as a smooth line chart with time on the x-axis and temperature on the y-axis. The chart uses React with SVG rendering, and d3-scale functions like scaleTime and scaleLinear to compute positions, while d3.line with curveNatural generates the curved path. Axes are built from custom React components that render tick marks and labels, and the data is loaded as CSV using d3.csv.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed