# aditya-dey1/urban-dengue-outbreak architecture

> Architecture diagram of the GitHub repository aditya-dey1/urban-dengue-outbreak, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/aditya-dey1/urban-dengue-outbreak
- Repository: https://github.com/aditya-dey1/urban-dengue-outbreak

## Overview

This repository is presented as a ward-level dengue early-warning dashboard: it forecasts risk 2–4 weeks ahead and displays weather drivers and validation views. The README describes feature engineering, model training, inference and risk tiers, but those source files are absent from the supplied tree; the only listed implementation file is app.py. The CSV is present, though its name differs from the dataset path in the README. Relationships below reflect documented capabilities, not inspected runtime wiring.

Main entry points: [`app.py`](https://github.com/aditya-dey1/urban-dengue-outbreak/blob/main/app.py) (Forecast dashboard), [`data/data.csv`](https://github.com/aditya-dey1/urban-dengue-outbreak/blob/main/data/data.csv) (Dengue data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Input data"]
  node_dataset["Dengue data<br/>[data.csv]"]
end

subgraph group_forecast["Forecasting"]
  node_features["Lagged features"]
  node_training["Model training"]
  node_inference["Risk inference"]
  node_tiers["Risk tiers"]
end

subgraph group_dashboard["Dashboard"]
  node_dashboard["Forecast dashboard<br/>[app.py]"]
  node_overview["City and ward views<br/>[app.py]"]
  node_validation["Validation and errors<br/>[app.py]"]
  node_efficiency["Efficiency panel<br/>[app.py]"]
end

node_user(("User"))

node_user -->|"views forecasts"| node_dashboard
node_dataset -->|"provides observations"| node_features
node_dashboard -->|"shows"| node_overview
node_dashboard -->|"shows"| node_validation
node_dashboard -->|"shows"| node_efficiency

click node_dataset "https://github.com/aditya-dey1/urban-dengue-outbreak/blob/main/data/data.csv"
click node_dashboard "https://github.com/aditya-dey1/urban-dengue-outbreak/blob/main/app.py"
click node_overview "https://github.com/aditya-dey1/urban-dengue-outbreak/blob/main/app.py"
click node_validation "https://github.com/aditya-dey1/urban-dengue-outbreak/blob/main/app.py"
click node_efficiency "https://github.com/aditya-dey1/urban-dengue-outbreak/blob/main/app.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dataset,node_user toneBlue
class node_features,node_training,node_inference,node_tiers toneAmber
class node_dashboard,node_overview,node_validation,node_efficiency toneMint
```

## Components

### Input data

- [Dengue data](https://github.com/aditya-dey1/urban-dengue-outbreak/blob/main/data/data.csv): `data/data.csv`

### Forecasting

- **Lagged features**
- **Model training**
- **Risk inference**
- **Risk tiers**

### Dashboard

- [Forecast dashboard](https://github.com/aditya-dey1/urban-dengue-outbreak/blob/main/app.py): `app.py`
- [City and ward views](https://github.com/aditya-dey1/urban-dengue-outbreak/blob/main/app.py): `app.py`
- [Validation and errors](https://github.com/aditya-dey1/urban-dengue-outbreak/blob/main/app.py): `app.py`
- [Efficiency panel](https://github.com/aditya-dey1/urban-dengue-outbreak/blob/main/app.py): `app.py`

### Other components

- **User**

## Connections

- User → Forecast dashboard: views forecasts (evidence: `README.md`)
- Dengue data → Lagged features: provides observations (evidence: `README.md`)
- Forecast dashboard → City and ward views: shows (evidence: `README.md`)
- Forecast dashboard → Validation and errors: shows (evidence: `README.md`)
- Forecast dashboard → Efficiency panel: shows (evidence: `README.md`)
