Data-driven analysis of 265-year global surface temperature records (1750–2015) from Berkeley Earth, hosted on Kaggle.
Kaggle Dataset Link: https://www.kaggle.com/datasets/berkeleyearth/climate-change-earth-surface-temperature-data
Target File: GlobalTemperatures.csv
Data coverage: Monthly global land & combined land-ocean temperature measurements, including max/min land temperature and 95% uncertainty intervals.
- Visualize long-term global warming trends from 1850 to 2015
- Calculate temperature anomalies using the standard 1951–1980 climate baseline
- Compare divergent warming rates of land maximum and minimum temperatures
- Explore seasonal warming differences across winter, spring, summer, autumn
- Analyze decade-by-decade shifts in monthly temperature anomaly distributions
- Quantify correlation between raw temperature values and measurement uncertainty
- Build interactive Plotly dashboards for dynamic trend exploration
Install required packages before execution:
pip install pandas numpy matplotlib seaborn scikit-learn scipy plotly
## 📊 Key Visualizations
**Global Land vs Land-Ocean Temperature Trends (1850–2015)**

**Climate Warming Stripes**

**Monthly Temperature Anomaly Distribution by Decade**

**Global Land Temperature Anomalies (1750–2015)**
!Temperature_Anomaly](images/Temperature_Anomaly.png)
## How to Run
Download and unzip the Kaggle dataset into your project folder
Switch dataset loading code to the local file path (comment/uncomment path block)
Run the notebook or Python script locally
Key Visual Outputs
Global land vs land-ocean temperature trend line chart
Annual temperature curve with 10-year rolling mean & 95% uncertainty shade band
5-year rolling max/min land temperature comparison
Climate warming stripes (temperature anomaly horizontal heatmap)
Boxplot of monthly temperature anomalies grouped by decade
Seasonal warming trend multi-line plot
Correlation heatmap for temperature and measurement uncertainty
Static scatter plot of historical temperature anomalies
Two interactive Plotly time-series dashboards
Data Preprocessing Steps
Datetime parsing & year/month feature extraction
Linear interpolation to fill missing temperature records
Filter reliable post-1850 instrumental temperature data
Annual/monthly temperature aggregation
Temperature anomaly calculation (remove seasonal bias with 1951–1980 baseline)
Z-score extreme temperature detection
Min-Max normalization for standardized temperature values
Decade categorical feature creation for grouped analysis
License
Dataset: CC BY-NC-SA 4.0 (Berkeley Earth)
Project Code: MIT License