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)

ab51ba76c6b1408694f9d51c1d68b5bb

Fork of Stylized Line Chart

0 stars0🌍 Public
Zzenoalive
Last edited Apr 22, 2023
Created on Apr 22, 2023

This example shows a stylized line chart of temperature measurements over time, using data from the Data Canvas Sense Your City Dataset. The visualization features a smooth, natural curve rendered as an SVG path, with labeled axes for time and temperature. Built with React and D3 v5, it uses `scaleTime` and `scaleLinear` for the scales, `line()` with `curveNatural` for the path, and custom `AxisBottom` and `AxisLeft` components for ticks and labels. The data is loaded asynchronously via `useEffect` and `json`.

AI-generated description