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)

e2258f871e0f4a6986b4dadee724f16d

Fork of Stylized Line Chart

0 stars0🌍 Public
GGeekboxer
Last edited Jul 27, 2021
Created on Jul 27, 2021

This example visualizes weekly temperature readings from the Data Canvas Sense Your City dataset as a stylized line chart. The chart displays temperature over time using a smooth curve, with labeled axes for time and temperature. The code builds the visualization with React components and D3 v5 APIs including `scaleTime`, `scaleLinear`, `line`, and `curveNatural`. It renders as an SVG, using D3’s `csv` loader to fetch data and `extent` to compute domains, with tick marks and axis labels styled via CSS.

AI-generated description