Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NYC Citi Bike Heatmap

This project processes and visualizes 2024 NYC Citi Bike trip data. It includes data preprocessing with Python, data aggregation using C++ with OpenMP, and final visualization as an interactive heatmap.

Project Structure

  • scripts/preprocess.py: Preprocesses raw Citi Bike data
  • cpp/aggregation.cpp: Aggregates trip data in sequential/parallel using OpenMP
  • scripts/visualize.py: Generates a heatmap from aggregated data
  • nyc_citibike_heatmap.html: Output HTML file for visualization

Requirements

  • Python 3
  • C++ compiler with OpenMP support (e.g., g++-14)
  • macOS (for open command, or modify accordingly for other OS)

Run the project

Run all commands together:

make all

Setup

Create a Python virtual environment and install dependencies:

make setup

Preprocess Data

Run the Python script to preprocess raw data:

make preprocess

Build Aggregation Binary

Compile the C++ aggregation program:

make build

Run Aggregation

Execute the compiled C++ program:

make run

Visualize Heatmap

Generate the heatmap using the processed data:

make visualize

Open Heatmap

Render the heatmap in your default browser (macOS):

make open

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages