The Vanderbilt MoveVU Ridership Dashboard is an interactive application designed to visualize the ridership data of Nashville's bus routes. This dashboard utilizes Plotly and Dash to render dynamic visualizations, helping to explore trends and insights about the frequency and demographics of ridership across various bus routes.
To run this application, you need to have Python installed along with the following major libraries:
- Dash
- Pandas
- Plotly
Additionally, Conda is recommended for managing your Python environment and dependencies.
- Clone the repository
git clone https://github.com/SySyAli/vanderbilt_movevu.git
- Navigate to the project repository:
cd vanderbilt_movevu
- Install Conda: Download and install Conda (Anaconda or Miniconda) from Conda's official website.
- Create a Conda environment: Open your terminal and run the following command to create a new environment:
conda create --name movevu python=3.12
- Activate the enviroment using:
conda activate movevu
- Install the required packages. There are two
requirements.txt
, one for the testing folder and one for the dashboard. Choose one based upon your needs. The main requirements.txt has the packages needed only for running the dashboard.conda install --file requirements.txt
- Setup the parquet file: Ensure you have the
movevu.parquet
in the root directory. If you only have.csv
files, then look at the pandas documention to convert all of your data to a parquet.
- Download the application files: Ensure you have the
app.py
script in the root directory. - Launch the dashboard: With your Conda environment activated and the necessary files in place, run the following command from your terminal:
python app.py
- Access the dashboard: Open a web browser and navigate to
http://127.0.0.1:8050/
to view the Vanderbilt MoveVU Ridership Dashboard.
- Data Visualization: View different graphical representations of the data like histograms, bar charts, and line plots.
- Interactive Elements: Use tabs and date pickers to filter and view data across different dimensions such as time periods and rider demographics.
- Dynamic Updates: The graphs update dynamically based on user interactions with elements like date ranges and tab selections.
The testing directory contains some data analysis that was done to determine the visualizations used for the dashboard