Skip to main content
100%

Fork of Stylized Line Chart

✓ Published0🌍 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
MIT Licensed

Similar vizzes