/run-visualization

Source code for blog post: Interactive Data Visualization of Geospatial Data using D3.js, DC.js, Leaflet.js and Python

Primary LanguageJavaScript

Inspiration for this visualization: Interactive Data Visualization of Geospatial Data using D3.js, DC.js, Leaflet.js and Python

I modified it to show my run habits. Here is my blog post that inspired me to make this: Becoming a Better Runner using Data

Dependencies

You need Python 2.7.x and 3 Python libraries: Pandas, Flask, Shapely.

The easiest way to install Pandas is to install it as part of the Anaconda distribution.

You can install Flask and Shapely using pip.

pip install flask shapely

How to run the code

  1. Install all Python dependencies
  2. Download your data from RunKeeper
  3. Save the dataset where you want and modify the path in app.py
  4. From the root folder, run python app.py