https://github.com/anand-sony/mttr-dashboard
Streamlit dashboard for MTTR analysis with shift-wise loss insights and machine-level downtime tracking.
https://github.com/anand-sony/mttr-dashboard
analytics business-analytics dashboard data python statistical-analysis
Last synced: 29 days ago
JSON representation
Streamlit dashboard for MTTR analysis with shift-wise loss insights and machine-level downtime tracking.
- Host: GitHub
- URL: https://github.com/anand-sony/mttr-dashboard
- Owner: Anand-Sony
- Created: 2026-05-01T12:18:40.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-28T12:07:07.000Z (about 1 month ago)
- Last Synced: 2026-05-28T13:05:09.215Z (about 1 month ago)
- Topics: analytics, business-analytics, dashboard, data, python, statistical-analysis
- Language: Python
- Homepage: https://dkxsds6bfnnebiz4jxkr4j.streamlit.app/
- Size: 243 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
๐ MTTR Analysis Dashboard
Interactive dashboard to track Mean Time To Repair across production lines, machines, and defect categories.



---
## ๐ Live App
> **[๐ Click here to open the dashboard](https://dkxsds6bfnnebiz4jxkr4j.streamlit.app/)**
No installation needed โ runs directly in your browser.
---
## ๐ How to Use
### Step 1 โ Open the App
Click the live link above. The dashboard loads instantly.
### Step 2 โ Download Sample Data *(Optional)*
Click the **"๐ฅ Download Sample CSV (500 rows)"** button at the top of the app to get a ready-to-use file with the correct format.
### Step 3 โ Prepare Your CSV
Your file must have exactly these **7 columns**:
| Column Name | Description | Example |
|---|---|---|
| `Line-ID` | Production line name | `Line-1` |
| `Machine-ID` | Machine name | `Machine-3` |
| `Start-Time` | Breakdown start time | `17-01-2025 06:00` |
| `End-Time` | Breakdown end time | `17-01-2025 08:05` |
| `Category Defect` | Main defect category | `Electrical Defect` |
| `Sub-Category Defect` | Specific defect type | `Relay Contactor` |
| `Down-Time` | Duration in minutes | `99.99` |
> โ ๏ธ **Date format must be `DD-MM-YYYY HH:MM`**
### Step 4 โ Upload & Explore
Upload your CSV and the dashboard will automatically generate all charts.
---
## ๐ Features
| Feature | Description |
|---|---|
| ๐ Pareto Chart by Line | Rank lines by MTTR with cumulative % overlay |
| ๐ง Machine-wise MTTR | Select any line โ see machine-level breakdown |
| ๐ Loss-wise MTTR | Select any machine โ drill into defect categories |
| ๐ Top 5 Defects by Line | Most frequent defects per line |
| ๐ Cross-line Defects | Defects appearing across multiple machines/lines |
| ๐ฅ Export Charts | Download any chart as an interactive HTML file |
---
## ๐๏ธ Filters
Use the **left sidebar** to:
- Filter by **date range**
- Set a **minimum Down-Time** threshold (e.g. show only breakdowns > 30 min)
---
## ๐ ๏ธ Tech Stack
- [Streamlit](https://streamlit.io/) โ dashboard framework
- [Pandas](https://pandas.pydata.org/) โ data processing
- [Plotly](https://plotly.com/) โ interactive charts
- [NumPy](https://numpy.org/) โ numerical operations
---
## ๐ Repository Structure
```
MTTR-Dashboard/
โโโ mttr_dashboard.py # Main dashboard app
โโโ Sample_Data.csv # Sample dataset (500 rows)
โโโ requirements.txt # Python dependencies
โโโ README.md
```
---
## ๐ฌ Contact
Built by **Anand Soni** ยท [GitHub Profile](https://github.com/Anand-Sony)
## โญ Support
## If you found this project useful, consider giving it a โญ on GitHub!