This is an interactive R Shiny dashboard I built to analyze and visualize district-wise rainfall patterns across India. The goal of this project was to explore the data, find patterns, and build a simple predictive model using linear regression.
The dashboard allows users to:
- View rainfall statistics (monthly and annual)
- Explore correlation and covariance between months
- Categorize regions based on rainfall (High, Average, Low)
- Predict annual rainfall using user-inputted monthly values
- Visualize trends, distributions, and clusters
This project helped me understand how to combine data science concepts with Shiny app development in R.
- Working with real-world rainfall data
- Using
ggplot2,corrplot, andcaretfor analysis and visualization - Building a linear regression model with
lm()in R - Clustering with
kmeansto identify regional patterns - Creating a clean, tab-based Shiny UI with reactive elements
- Make sure R and RStudio are installed on your system.
- Install required packages:
install.packages(c("shiny", "ggplot2", "corrplot", "caret", "cluster"))