Logo Lanfrica

AdegbehingbeGodwin/Nigeria-Health-Map

Domaine:

healthcaregeospatial

Type de record:

software
Créateur:
Ade
HĂ´te:
# 📍 Nigeria HealthMap NG ### Building and Deploying Impactful Geospatial Web Applications This project is a high-performance, interactive geospatial dashboard designed to map health facilities across Nigeria. Built for the class **"From Code to Public Maps"**, it demonstrates how to transform raw CSV data into a live, public insights tool. ## 🚀 Impact Accessibility to health facilities is a critical metric for public health planning. By visualizing these points, we can: - **Identify underserved states** with low facility density. - **Analyze facility distribution** by level (Primary, Secondary, Tertiary). - **Publicly share insights** via GitHub Pages with zero hosting costs. ## 🛠️ Tech Stack - **Frontend**: HTML5, CSS3 (Custom Design System) - **Maps**: Leaflet.js - **Data Parsing**: PapaParse (CSV to JSON in-browser) - **Charts**: Chart.js - **Base Map**: CartoDB Dark Matter ## 💻 How to Run Locally Browsers block fetching local CSV files for security. To test this app locally: 1. Open your terminal in this folder. 2. Run a simple web server: - **Python**: `python -m http.server 8000` - **Node.js**: `npx http-server` 3. Visit `localhost` in your browser. ## 📦 How to Deploy to GitHub Pages 1. **Initialize Git**: `git init` 2. **Commit Files**: Add `index.html`, `style.css`, `app.js`, and the dataset. 3. **Push to GitHub**: Create a new repo and push your code. 4. **Enable Pages**: Go to **Settings > Pages**, select `main` branch, and click Save. 5. **Live!**: Your map will be at `https://[username].github.io]/` ## 📊 Dataset The data is sourced from **GRID3 Nigeria**, containing over 54,000 health facilities with attributes like ownership, level, and coordinates.