This project visualizes Google Timeline data as a heatmap using Python and Folium. It allows users to extract their location data from Google Timeline and create an interactive map to explore their travel patterns.
- Extracts location data from Google Timeline JSON files.
- Generates an interactive heatmap centered on your travel data.
- Easy-to-follow instructions for setup and usage.
- Python 3.x
- Pip (Python package manager)
-
Clone the repository:
git clone https://github.com/yourusername/HeatmapProject.git cd HeatmapProject
-
Install the required dependencies:
pip install -r requirements.txt
-
Place your exported
timeline.json
file in the project directory. -
Run the script:
python heatmap.py
-
Open the generated
heatmap.html
file in your browser.
Here’s an example heatmap generated from anonymized data:
- Open Settings on your Android phone, and navigate to Location.
- Select Timeline and choose your Google account.
- Export your timeline data as a JSON file.
Feel free to fork this repository and submit pull requests to improve the project.
This project is licensed under the MIT License.