# amisha-ranjan34/hospital_kpi_dashboard architecture

> Architecture diagram of the GitHub repository amisha-ranjan34/hospital_kpi_dashboard, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/amisha-ranjan34/hospital_kpi_dashboard
- Repository: https://github.com/amisha-ranjan34/hospital_kpi_dashboard

## Overview

This repository presents a hotel KPI dashboard, with a live dashboard page and CSV data files. The README names Power BI Desktop, Power BI Service, and GitHub Pages, and lists the tracked metrics. No source excerpts were provided, so links between the page, data, and Power BI are not asserted.

Main entry points: [`index.html`](https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/index.html) (Hotel KPI dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dashboard["Dashboard"]
  node_page["Hotel KPI dashboard<br/>[index.html]"]
  node_metrics["Revenue, occupancy, RevPAR, ADR, room-category revenue, day-type, realis<br/>[README.md]"]
end

subgraph group_data["Data files"]
  node_dim_date["Date dimensions<br/>[dim_date.csv]"]
  node_dim_hotels["Hotel dimensions<br/>[dim_hotels.csv]"]
  node_dim_rooms["Room dimensions<br/>[dim_rooms.csv]"]
  node_fact_aggregated["Aggregated bookings"]
  node_fact_bookings["Bookings<br/>[fact_bookings.csv]"]
end

node_visitor(("Dashboard visitor"))
node_powerbi["Power BI Desktop and Service"]
node_github_pages["GitHub Pages"]

node_visitor -->|"views"| node_page
node_github_pages -.->|"hosts"| node_page

click node_page "https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/index.html"
click node_metrics "https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/README.md"
click node_dim_date "https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/data/dim_date.csv"
click node_dim_hotels "https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/data/dim_hotels.csv"
click node_dim_rooms "https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/data/dim_rooms.csv"
click node_fact_aggregated "https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/data/fact_aggregated_bookings.csv"
click node_fact_bookings "https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/data/fact_bookings.csv"

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_page,node_metrics toneBlue
class node_dim_date,node_dim_hotels,node_dim_rooms,node_fact_aggregated,node_fact_bookings toneAmber
class node_visitor,node_powerbi,node_github_pages toneIndigo
```

## Components

### Dashboard

- [Hotel KPI dashboard](https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/index.html): `index.html`
- [Revenue, occupancy, RevPAR, ADR, room-category revenue, day-type, realis](https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/README.md): `README.md`

### Data files

- [Date dimensions](https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/data/dim_date.csv): `data/dim_date.csv`
- [Hotel dimensions](https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/data/dim_hotels.csv): `data/dim_hotels.csv`
- [Room dimensions](https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/data/dim_rooms.csv): `data/dim_rooms.csv`
- [Aggregated bookings](https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/data/fact_aggregated_bookings.csv): `data/fact_aggregated_bookings.csv`
- [Bookings](https://github.com/amisha-ranjan34/hospital_kpi_dashboard/blob/main/data/fact_bookings.csv): `data/fact_bookings.csv`

### Other components

- **Dashboard visitor**
- **Power BI Desktop and Service**
- **GitHub Pages**

## Connections

- Dashboard visitor → Hotel KPI dashboard: views (evidence: `README.md`)
- GitHub Pages → Hotel KPI dashboard: hosts
