Skip to content

rakshanrk/rainfall-analysis-shiny-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

🌧️ Rainfall Data Insight Dashboard

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.


🔍 Overview

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.


🧠 What I Learned

  • Working with real-world rainfall data
  • Using ggplot2, corrplot, and caret for analysis and visualization
  • Building a linear regression model with lm() in R
  • Clustering with kmeans to identify regional patterns
  • Creating a clean, tab-based Shiny UI with reactive elements

🖥️ How to Run the App

  1. Make sure R and RStudio are installed on your system.
  2. Install required packages:

install.packages(c("shiny", "ggplot2", "corrplot", "caret", "cluster"))

About

A Shiny dashboard to analyze and predict rainfall patterns using Indian district-wise rainfall data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages