Francescogiraldi/getaround_app
0
๐ Getaround Analytics Dashboard
A comprehensive Streamlit dashboard for analyzing Getaround rental data, featuring interactive visualizations, buffer threshold simulations, and key performance indicators.
๐ Table of Contents
โจ Features
- Interactive Data Filtering: Filter rentals by check-in type (mobile, connect, or both)
- Key Performance Indicators: Real-time metrics including total rentals, completion rates, and delay statistics
- Buffer Threshold Simulation: Analyze the impact of different time buffers between consecutive rentals
- Modern UI Design: Clean, responsive interface with Getaround's brand colors
- Real-time Visualizations: Interactive charts powered by Plotly
- Data Refresh Capability: Reload and refresh dashboard data on demand
๐ Installation
Prerequisites
- Python 3.8 or higher
- pip package manager
Local Setup
- Clone the repository
git clone https://github.com/Francescogiraldi/getaround.git
cd getaround- Install dependencies
pip install -r requirements.txt- Prepare your data
- Ensure you have
processed_delay_getaround_data.csvin the project directory - Or run the data processing script:
python processing_delay_analysis_data.py
- Run the application
streamlit run app.py- Access the dashboard
- Open your browser and navigate to
http://localhost:8501
๐ณ Docker Setup
Build and Run with Docker
- Build the Docker image
docker build -t getaround-dashboard .- Run the container
docker run -p 8501:8501 getaround-dashboard- Access the application
- Navigate to
http://localhost:8501in your browser
Docker Compose (Optional)
version: '3.8'
services:
getaround-dashboard:
build: .
ports:
- "8501:8501"
volumes:
- ./data:/app/data๐ Data Requirements
The dashboard expects a CSV file named processed_delay_getaround_data.csv with the following columns:
checkin_type: Type of check-in (mobile/connect)delay_at_checkout_in_minutes: Delay time in minutesprevious_ended_rental_id: ID of previous rentaltime_delta_with_previous_rental_in_minutes: Time gap between rentalsstate: Rental state (ended/canceled)
๐ฏ Dashboard Sections
1. Data Filters
- Check-in Type Filter: Filter data by mobile, connect, or both rental types
- Refresh Button: Reload and refresh dashboard data
2. Key Performance Indicators
- Total Rentals
- Completed Rentals with completion rate
- Canceled Rentals with cancellation rate
- Rentals with Delay
- Average and Median Delay times
3. Buffer Threshold Simulation
- Interactive slider to set buffer thresholds (0-720 minutes)
- Real-time impact analysis showing:
- Percentage of rentals affected
- Critical cases that would be solved
- Potential cancellation prevention
- Interactive visualization of results
๐ ๏ธ Technology Stack
- Frontend: Streamlit
- Data Processing: Pandas
- Visualizations: Plotly, Matplotlib
- Styling: Custom CSS with modern design principles
- Containerization: Docker
๐ Project Structure
getaround/
โโโ app.py # Main Streamlit application
โโโ processing_delay_analysis_data.py # Data processing script
โโโ processed_delay_getaround_data.csv # Processed data file
โโโ requirements.txt # Python dependencies
โโโ Dockerfile # Docker configuration
โโโ README.md # Project documentation
โโโ .gitignore # Git ignore rules๐จ Design Features
- Modern UI: Clean, card-based layout with hover effects
- Brand Colors: Getaround's signature violet theme (#aa1ba3)
- Responsive Design: Optimized for desktop and mobile viewing
- Interactive Elements: Smooth transitions and modern styling
- Accessibility: Clear typography and intuitive navigation
๐ง Configuration
The application can be customized by modifying:
- Colors: Update CSS variables in
app.py - Metrics: Modify KPI calculations in the metrics section
- Visualizations: Customize Plotly charts for different insights
- Filters: Add additional filtering options
๐ค Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐จโ๐ป Author
Francesco Giraldi - 2025
- GitHub: @Francescogiraldi
- Project Link: https://github.com/Francescogiraldi/getaround
๐ Acknowledgments
- Getaround for the inspiration and data structure
- Streamlit community for the amazing framework
- Plotly for interactive visualizations
Made with โค๏ธ by Francesco Giraldi 2025
