Skip to content

helioshe4/Strava-Data-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strava Data Visualizer

This project is a data visualization tool built with C++ and the Qt framework. It uses the Strava API to retrieve workout data and displays it in an interactive chart. The tool provides insights into workout trends over time, including distance, average heart rate, moving time, etc.

Passing Strava API credentials:

Example Chart 1:


Example Chart 2:

Features

  • Retrieves workout data from Strava's REST API using OAuth 2.0 authentication.
  • Visualizes data using interactive charts created with Qt Charts.

Installation (Build)

Prerequisites (To generate executable)

  • Docker Engine
  • git

Steps (Linux)

  1. git clone https://github.com/helioshe4/Strava-Data-Visualizer.git
  2. cd Strava-Data-Visualizer
  3. Run script to compile via Docker container: ./tools/build.sh
  4. Navigate to executable: cd QTStravaChart
  5. Run executable: ./QTStravaChart

Installation (Development)

Prerequisites

  • C++ compiler (C++11 or later is required)
  • Qt 5.15.3 or higher
  • libcurl
  • nlohmann JSON library
  • Qt Charts library

Steps (Linux)

  1. sudo apt-get update
  2. sudo apt-get -y install build-essential qt5-default libcurl4-openssl-dev nlohmann-json3-dev libqt5charts5-dev
  3. Clone the repository: git clone https://github.com/helioshe4/Strava-Data-Visualizer.git
  4. Navigate to the project's src directory: cd Strava-Data-Visualizer/src
  5. Compile the project: make
  6. To develop via qt: run qtcreator for the qt IDE. Ensure you have X11 forwarding if using WSL or via ssh.

Usage

If you would like to use API credentials from your own Strava account, information can be found here.

Authors

Helios He
helios.he@uwaterloo.ca

Version History

  • July 2023
    • Initial Release

Acknowledgments

About

Data visualization GUI in C++ using the Qt framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published