Skip to content

Tutorial for building a dashboard with Plotly Dash to stream ECG data from Physionet

Notifications You must be signed in to change notification settings

ThomasMBury/ecg-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a dashboard in Plotly Dash

Generate an interactive dashboard to explore ECG data from the Icentia11k database on Physionet. It accompanies this Medium article. The app is currently hosted on Heroku here.

Running the app locally

To run the app on your local computer, clone the repository, create a virtual environment and install the necessary requirements with

pip install --upgrade pip
pip install -r requirements.txt

Then run the app with

python app.py

This should show

Dash is running on http://127.0.0.1:8050/

You can now visit the app at this URL.

Medium files

To follow along with the Medium article, there are several versions of the app at different stages of completion in the medium directory. These can be run with e.g.

cd medium
python app_v1.py

Usage

Feel free to use and extend this template for your own use. If you find it useful, please consider 'clapping' the Medium article and starring this repository. Thank you!

Preview

app

References

Tan, S., Ortiz-Gagné, S., Beaudoin-Gagnon, N., Fecteau, P., Courville, A., Bengio, Y., & Cohen, J. P. (2022). Icentia11k Single Lead Continuous Raw Electrocardiogram Dataset (version 1.0). PhysioNet. https://doi.org/10.13026/kk0v-r952.

Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., ... & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220.

About

Tutorial for building a dashboard with Plotly Dash to stream ECG data from Physionet

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published