PhysAI - Viz
Interactive Time Series Visualization Tool for BIDS Compatible Physiological Data
In this project, I have built an interactive visualization tool for quality assessment of BIDS-compatible physiological recordings. It is built to make it easier to inspect physiological traces—such as respiration, and cardiac recordings—together with auxiliary signals like framewise displacement, scan timing, and signal quality metrics. It combines reusable D3 interactions with BIDS-aware data loading, the viewer makes it easy to assess signal quality before downstream application steps.
Methods Summary
The viewer is built with a TypeScript + D3.js frontend architecture, bundled with Vite for fast local development and modular deployment.
The core visualization system uses:
- D3.js for SVG rendering, scales, axes, zoom, pan, and brush interactions
- TypeScript for strongly typed chart logic and reusable visualization components
- Vite for hot-reload development and lightweight packaging
- a focus + context chart design for overview-to-detail browsing
- viewport-aware rendering for dense physiological traces
- BIDS-aware TSV parsing and metadata-driven signal loading
This stack makes it possible to smoothly navigate long physiological recordings while preserving interaction control for quality assessment workflows.
Why It’s Useful
Reliable physiological recordings are critical for:
- brain-body coupling studies
- cardiac and respiratory modeling
- retrospective denoising
Yet these recordings are often difficult to inspect efficiently. This viewer improves speed, interpretability, and confidence in physiological QC by combining signal browsing, metadata awareness, and auxiliary quality metrics in one interface.
Preview
Below figures are provding a preview of the tool, showcasing key functionality.
Open Source
This project is open source and designed for practical BIDS-compatible physiology QC workflows.
Code: GitHub
Whether you’re validating physiology traces, curating datasets, or building neuroimaging QC pipelines, this viewer makes long-form physiological signal assessment faster, clearer, and easier to trust.
Citation
If you use this code in your research, please cite: