Process and visualize your Fitbit fitness tracker data with ease. This repository contains a Jupyter notebook that helps you break down your raw Fitbit data into consolidated health and fitness metrics and provides visually appealing charts and graphs showcasing your personal health & fitness trends over time.
-
Download Your Fitbit Data:
- Visit Fitbit's Data Export Page.
- Request the time range you'd like to export.
- When the export is ready click on
Download
and it will provide you with a.zip
file.
-
Prepare the Data:
- Unzip the downloaded file.
- Place the unzipped folder inside the
data
directory of this repository.
-
Environment Setup:
- Ensure you have Jupyter Notebook installed. If not, you can install it using pip:
bash
pip install jupyter
- Install the required dependencies (see Dependencies section).
- Ensure you have Jupyter Notebook installed. If not, you can install it using pip:
bash
-
Clone this Repository:
- Open your terminal or command prompt.
- Navigate to the directory where you want to clone the repository.
- Run the following commands:
git clone https://github.com/schbz/FitbitEDA.git
cd schbz/FitbitEDA
-
Open the Notebook:
-
in root directory of the project, launch Jupyter Notebook:
bash
jupyter notebook
-
-
Configure Your Data Input:
- Open the provided notebook from the Jupyter interface.
- Locate the cell with a line similar to:
user_folder = '23_Dec'
- Replace
23_dec
with the name of the folder you placed in thedata
directory.
-
Run the Notebook:
- Run all cells in the notebook.
- Once processed, you'll find several consolidated
.csv
files inside theoutput
directory. - Additionally, the notebook will display various charts and graphs detailing your health and fitness trends.
Here are some example charts you can expect from this notebook:
This notebook relies on several Python libraries for data processing and visualization:
pandas
matplotlib
seaborn
numpy
scipy
You can install them using pip:
pip install pandas matplotlib seaborn numpy scipy
For any issues or enhancements, please open a GitHub issue.