# 🌍 Amhara REDD+ Summary Dashboard (AR, ANR, PFM)
This repository hosts an interactive, browser-based dashboard that visualizes **Afforestation/Reforestation (AR)**, **Assisted Natural Regeneration (ANR)**, and **Participatory Forest Management (PFM)** activities under the **Amhara REDD+ Program**.
The dashboard enables users to upload project data (in CSV format), automatically compute totals, visualize them in charts and maps, and share results online.
---
## 🚀 Features
âś… **CSV Upload & Auto Analysis**
Upload REDD+ activity data and automatically calculate AR, ANR, and PFM total areas.
âś… **Dynamic KPIs**
Displays total area achieved (in hectares) for each intervention type.
âś… **Interactive Charts (Chart.js)**
Visualize performance using **bar** and **pie** charts.
âś… **Interactive Map (Leaflet)**
Plots REDD+ sites by coordinates and displays detailed popups with region, woreda, activity type, and area.
âś… **Data Table Preview**
Shows a scrollable table preview of uploaded data for quick inspection.
âś… **Share Buttons**
Quickly share dashboard results via:
- đź“§ Email
- đź”— LinkedIn
- đź’¬ Telegram
âś… **Fully Client-Side**
Runs entirely in your browser — no server setup needed.
---
## đź§° Technologies Used
| Technology | Purpose |
|-------------|----------|
| **HTML5 / CSS3 / JavaScript** | Frontend structure and styling |
| **Bootstrap 5** | Responsive design and layout |
| **Leaflet.js** | Interactive mapping |
| **Chart.js** | Bar and pie chart visualization |
| **PapaParse.js** | CSV parsing and data extraction |
---
## 📊 Input Data Format
The dashboard reads a CSV file with the following **expected column headers**:
| Column | Description |
|---------|--------------|
| `region` | Name of the region (e.g., Amhara) |
| `wereda` | Woreda or district name |
| `site_name` | REDD+ intervention site name |
| `inttype` | Type of intervention (AR, ANR, PFM) |
| `areaha2d` | Area in hectares |
| `intyearst` | Starting year of intervention |
| `Latitude` | Site lati …