Skip to content

Interactive Python Dash dashboard for analyzing campus shuttle ridership trends. Supports data-driven decisions such as adjusting vehicle capacity, modifying service hours, and identifying under- or over-utilized stops through time-based and stop-level analysis.

Notifications You must be signed in to change notification settings

alexstvn/TransitDash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

TransitDash: Ridership Data Analysis

๐Ÿ“– Overview

This project provides a Python Dash dashboard designed to help the my former work's transportation office analyze ridership trends across their campus shuttle routes. By visualizing historical and real-time ridership data, this tool supports data-driven decisions such as:

  • Adjusting vehicle capacity
  • Modifying service hours
  • Identifying under- or over-utilized stops

Additionally, the project required (but not included here) scripts for data cleaning and reformatting, tailored to the vendor's data inconsistencies, ensuring that the dashboard receives well-structured, accurate inputs.


Getting Started

Prerequisites

Before using this dashboard, ensure you have the following installed:

  • Python (v3.10+ recommended)

Directory Structure

TransitDash/
โ”‚-- data/ # Raw and processed datasets
โ”‚-- docs/ # Documentation and assets for the README
โ”‚-- pages/ # Application pages (Dash)
โ”‚-- static/ # Static assets (CSS, JS, images)
โ”‚-- utils/ # Utility scripts for data cleaning and processing
โ”‚-- run.py # Entry point to launch the dashboard
โ”‚-- README.md # Project documentation

Dashboard Features

Time-Based Ridership Analysis

The Time page allows you to explore ridership across multiple granularities. Available visualizations include:

  • Ridership by semester and year
  • Ridership by month, week, and date
  • Ridership in 30-min intervals
  • Ridership by scheduled time at any selected stop

Ridership by Time

By default, the dashboard displays ridership trends for the entire date range defined by the filters at the top of the page.

Stop Utilization

The Stop Utilization page highlights which stops are most and least frequented. It includes:

  • Top and bottom 10 stops by ridership (adjustable in code)
  • Daily ridership breakdowns for each day of the week across these top and bottom stops

Ridership by Stop


Future Improvements

This project is under active development. Upcoming enhancements include:

  • Redesigned and more visually appealing home page
  • Enhanced Ridership Summary page with at-a-glance overview
  • Drag-and-drop data ingestion with automated preprocessing tailored to the companyโ€™s specific data format

Usage

  1. Clone the repository:
    git clone https://github.com/alexstvn/TransitDash.git
    cd TransitDash
  2. Install dependencies
    pip install -r requirements.txt
    
  3. Run the application.
    python run.py
    

Contact

For questions or feedback, please feel free to reach out to me!

About

Interactive Python Dash dashboard for analyzing campus shuttle ridership trends. Supports data-driven decisions such as adjusting vehicle capacity, modifying service hours, and identifying under- or over-utilized stops through time-based and stop-level analysis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages