STREAMLIT Β· PYTHON Β· LOCAL

Spatial Analytics
Dashboard 2

Advanced IDW / Kriging interpolation, Gibbs & Durov plots, AI-powered water quality reports β€” running on your local machine via Streamlit.

http://localhost:8501 LOCAL SERVER
β†— Open Dashboard 2

Run streamlit run dashboard_2.py first,
then click above to open in a new tab.

What Dashboard 2 Offers
πŸ—ΊοΈ
IDW & Kriging Spatial Maps
Upload a CSV + shapefile and generate interpolated water quality maps using Inverse Distance Weighting or Ordinary Kriging.
πŸ“
Gibbs & Durov Diagrams
Hydrochemical classification plots β€” Gibbs diagram for mechanism dominance, Durov plot for ionic facies analysis.
βš—οΈ
Multi-Parameter Mapping
Map pH, TDS, Salinity, Ammonia, Fluoride, or Nitrate. Supports English, Hindi, and Tamil interfaces.
πŸ€–
AI Report Generation
Powered by Gemini AI β€” generates a detailed water quality interpretation report downloadable as a Word document.
πŸ“Š
Distribution & Outlier Analysis
Histograms, KDE curves, and boxplots for TDS and pH to identify anomalous sample sites.
πŸ“
Shapefile Library + Upload
Use pre-loaded shapefiles from your workspace directory or upload your own ZIP archive on the fly.
How to Run Locally
01 Install dependencies: pip install streamlit folium geopandas pykrige scikit-learn python-docx
02 Set your Gemini API key (optional for AI reports): export GEMINI_API_KEY=your_key
03 Launch the app: streamlit run dashboard_2.py
04 Open http://localhost:8501 in your browser, or click the launch button above.