Skip to content

arnavpodichetty/Transit-Stations-Map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transit Map App

A web app to explore California transit data with routes, stations, bottlenecks, low-income areas, and an AI chat assistant.

Quick Start

  1. Install dependencies:
    pip install -r requirements.txt
    cd app && npm install
  2. Add a .env file in the root:
    VITE_GOOGLE_MAPS_API_KEY=your_google_maps_api_key
    VITE_GOOGLE_MAPS_ID=your_map_id
    GEMINI_API_KEY=....
    ask me for it....
    
  3. Add data files to app/public/data/ (see below).

Running

Development (live reload):

Production:

Data Files

Place these in app/public/data/:

  • routes.json (transit routes)
  • bottlenecks.json (traffic bottlenecks)
  • low_income.json (low-income areas)
  • data.json (stations, optional)

Features

  • Interactive Google Map with transit layers
  • Filter by route type, state, and mode
  • Toggle bottlenecks and low-income areas
  • AI Assistant: Ask questions about the map (Gemini-powered)

AI Assistant

  • Click the 🤖 button to chat about routes, bottlenecks, or transit info.
  • Example: "What do the route colors mean?" or "Where are the biggest bottlenecks?"

Data Sources


For more details, see comments in the code. Enjoy exploring transit data!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors