Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

O2 Monitor Chart

Public visualization

Viewing a saved revision (read-only)

70973907a2834918941526891339760f

O2 Monitor Chart

0 stars0🌍 Public
EEmma Schaale
Last edited Feb 22, 2023
Created on Feb 21, 2023

This chart plots oxygen level over time, filtering out zero values from a CSV dataset inspired by the Data Canvas Sense Your City project. It renders as an SVG line chart using React components and D3 v5’s `scaleLinear`, `scaleTime`, and `line` with `curveNatural`. Custom axis components generate ticks and labels, while the y-axis is fixed from 0 to 100. Data loading and parsing are handled by `useData` with D3’s `csv` function, converting time strings to Date objects and oxygen levels to numbers.

AI-generated description