Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Stylized Line Chart

Public visualization

Viewing a saved revision (read-only)

a66a2a2748714c638d7399ca23551492

Fork of Stylized Line Chart

0 stars0🌍 Public
Ssucotton9
Last edited Jul 13, 2021
Created on Jul 13, 2021

This example shows a stylized line chart of temperature readings over one week, drawn as a smooth curve using React and SVG. The data comes from the Data Canvas Sense Your City dataset, loaded as CSV with d3.csv. The chart uses d3.scaleTime and d3.scaleLinear for the axes, while d3.line with curveNatural generates the curved path. Axes and tick labels are rendered as React components, with custom styling for ticks, labels, and the teal-colored line.

AI-generated description