While the dashboard began as a public-facing prototype, it has since transitioned into a contracted project. As a result, further developments and findings are part of a private engagement and are not included in this repository.
An interactive Streamlit dashboard designed to analyze departmental salary spending across Baltimore City. This tool highlights significant deviations in salary data to identify potentially troubled departments. Supporting data-driven decision-making for a political candidates and public stakeholders.
This dashboard was built to:
- Visualize department-level salary trends across Baltimore
- Detect outliers and anomalies in salary distributions
- Provide transparency into city payroll spending
- Help a political candidate target departments for further review based on fiscal irregularities
- Interactive Filtering by department, year, and salary range
- Salary Deviation Detection to highlight unusually high or low spending
- Departmental Summaries with key metrics
- Visualizations including bar charts, gauge plots, and deviation tables
- Streamlit Interface for ease of use and real-time exploration
- Python – Core language
- Streamlit – Web dashboard framework
- Pandas – Data manipulation
- Plotly – Interactive and statistical visualizations
- NumPy – Numerical operations
- Git – Version control
📁 Data The data used includes:
- Baltimore City departmental salary reports
- Staff-level records including department, role, and pay
- Publicly available sources
Note: All data is derived from public records.
To run this project locally:
- After you have cloned the repo to your machine, navigate to the project folder in GitBash/Terminal.
- Create a virtual environment in the project folder.
- Activate the virtual environment.
- Install the required packages.
- When you are done working on your repo, deactivate the virtual environment.
| Command | Linux/Mac | GitBash |
|---|---|---|
| Create | python3 -m venv venv |
python -m venv venv |
| Activate | source venv/bin/activate |
source venv/Scripts/activate |
| Install | pip install -r requirements.txt |
pip install -r requirements.txt |
| Deactivate | deactivate |
deactivate |
git clone https://github.com/your-username/baltimore-salary-dashboard.git
cd baltimore-salary-dashboard
pip install -r requirements.txt
streamlit run app.py