# 🇰🇪 Kenya Security & Conflict Dashboard
A comprehensive Streamlit-based dashboard for analyzing security events, fatalities, and conflict patterns across Kenya's 47 counties, with special focus on election-related violence patterns.
## 🚀 Features
### 📊 **Overview Tab**
- **Key Performance Indicators (KPIs)**: Total events, average events/week, total fatalities, average fatalities/week
- **Event Type Distribution**: Interactive pie chart showing breakdown of security events
- **Summary Statistics**: Population exposure, unique counties, data coverage
- **Critical Election Security Analysis**: Historical context and recurring patterns
### ⏰ **Time Analysis Tab**
- **Events Over Time**: Line charts showing temporal trends with election cycle correlation
- **Fatalities Over Time**: Analysis of lethal incidents over time
- **Monthly Trends**: Seasonal patterns and election-related security challenges
- **Election Violence Patterns**: 2008 post-election violence and subsequent cycles
### 🗺️ **Geographic Tab**
- **Top Counties by Events**: Bar charts of high-incident areas
- **Top Counties by Fatalities**: Geographic distribution of lethal incidents
- **County Choropleth Maps**: Interactive maps showing events and fatalities by county
- **Election Violence Hotspots**: Identification of high-risk areas during electoral periods
### 🎯 **Event Types Tab**
- **Event Type Distribution**: Analysis of different security incident categories
- **Fatalities by Event Type**: Lethality analysis across incident categories
- **Sub-Event Analysis**: Detailed breakdown of specific incident types
- **Interactive Data Table**: Searchable and downloadable event data
## đź”§ Technical Features
- **County Name Standardization**: Automatic mapping between CSV data and shapefile counties
- **Interactive Visualizations**: Plotly charts with hover information and zoom capabilities
- **Responsive Design**: Optimized for different screen sizes and devices
- **Data Filtering**: Year range, regio …