Reverse Engineering a Time Series Sleep Cycle Plot from Oura Ring
Step by step guide to reconstruct a data visualization with python and plotly
Introduction
The aim of this article is to identify an interesting data visualization and learn how to reconstruct it as an interactive plot with python. As a researcher in wearable technology, I find the health and behaviroal trends captured by Oura Ring facinating. Therefore, I will take you step-by-step as I work to reverse engineer a plot from their LinkedIn page (see below).
The replication won’t be perfect, but it’s a great exercise to work on python skills and utilize the great tools available with plotly.
Import libraries
Plotly, pandas, and numpy are three python libraries used in this tutorial. You can learn more about each library by clicking on the links below: