How sainivas96/crop-yield-data-analysis works
This is a Streamlit dashboard for exploring crop yields alongside agricultural and weather measurements. Users select crop and region filters, then view summary KPIs, crop and regional comparisons, rainfall and fertilizer relationships, and correlations. They can also inspect a filtered data preview and download the filtered rows as CSV. The README mentions basic cleaning, but the shown code only loads the CSV and filters rows; no separate cleaning stage is evident. The dashboard’s capabilities are implemented together in app.py, so the component boundaries below represent distinct analytical stages, not separate modules.
Main entry points: app.py Crop and region filters · crop_yield_data.csv Crop yield data
Components 13
Data input
- CSV loader
app.py - Crop yield data
data/crop_yield_data.csv
Analysis
- Crop and region filters
app.py
Dashboard outputs
- Streamlit dashboard
app.py - Summary KPIs
app.py - Crop yield comparison
app.py - Rainfall relationship
app.py - Regional yield comparison
app.py - Fertilizer relationship
app.py - Yield correlations
app.py - Filtered data preview
app.py - Filtered CSV download
app.py
Other components
- Dashboard user
Connections 12
- Dashboard user → Streamlit dashboard: opens
README.md - Streamlit dashboard → CSV loader: calls
app.py - CSV loader → Crop yield data: reads
app.py - Streamlit dashboard → Crop and region filters: applies
app.py - Crop and region filters → Summary KPIs: supplies filtered rows
app.py - Crop and region filters → Crop yield comparison: supplies filtered rows
app.py - Crop and region filters → Rainfall relationship: supplies filtered rows
app.py - Crop and region filters → Regional yield comparison: supplies filtered rows
app.py - Crop and region filters → Fertilizer relationship: supplies filtered rows
app.py - Crop and region filters → Yield correlations: supplies filtered rows
app.py - Crop and region filters → Filtered data preview: supplies filtered rows
app.py - Crop and region filters → Filtered CSV download: supplies filtered rows
app.py