# sandeepc32/gst_dashboard architecture

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

- Interactive diagram: https://gitdiagram.com/sandeepc32/gst_dashboard
- Repository: https://github.com/sandeepc32/gst_dashboard

## Overview

This is a Streamlit dashboard for exploring GST collection data and forecasting revenue. The main workflow is selecting an Excel worksheet, reviewing historical collections and tax relationships, then evaluating regression models and viewing forecasts. The sampled code shows most of these capabilities implemented directly in app.py; the older app files are alternate monolithic versions. The README documents the product features, while several small component and module files are empty or provide no sampled evidence of runtime behavior, so their connections are omitted.

Main entry points: [`app.py`](https://github.com/sandeepc32/gst_dashboard/blob/main/app.py) (GST dashboard), [`modules/data_loader.py`](https://github.com/sandeepc32/gst_dashboard/blob/main/modules/data_loader.py) (Excel sheet loader), [`style.py`](https://github.com/sandeepc32/gst_dashboard/blob/main/style.py) (Dashboard styling), [`data/gst_input.xlsx`](https://github.com/sandeepc32/gst_dashboard/blob/main/data/gst_input.xlsx) (GST input workbook)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["Dashboard"]
  node_main_app["GST dashboard<br/>[app.py]"]
  node_overview["Overview<br/>[app.py]"]
  node_dataset["Dataset explorer<br/>[app.py]"]
  node_analysis["Revenue analysis<br/>[app.py]"]
  node_prediction["Revenue prediction<br/>[app.py]"]
  node_evaluation["Model evaluation<br/>[app.py]"]
  node_style["Dashboard styling<br/>[style.py]"]
end

subgraph group_data["Data Access"]
  node_loader["Excel sheet loader<br/>[data_loader.py]"]
  node_workbook[("GST input workbook<br/>[gst_input.xlsx]")]
end

subgraph group_history["Earlier Versions"]
  node_old_app["Earlier dashboard<br/>[app_old.py]"]
  node_old_app1["Earlier dashboard<br/>[app_old1.py]"]
  node_old_app2["Earlier dashboard<br/>[app_old2.py]"]
  node_old_app3["Earlier dashboard<br/>[app_old3_latest.py]"]
  node_old_app4["Earlier dashboard<br/>[app_old4.py]"]
end

node_user(("Dashboard user"))

node_user -->|"uses"| node_main_app
node_main_app -->|"presents"| node_overview
node_main_app -->|"presents"| node_dataset
node_main_app -->|"presents"| node_analysis
node_main_app -->|"presents"| node_prediction
node_main_app -->|"reports"| node_evaluation
node_main_app -->|"imports"| node_loader
node_loader -->|"reads"| node_workbook
node_main_app -->|"loads styles"| node_style

click node_main_app "https://github.com/sandeepc32/gst_dashboard/blob/main/app.py"
click node_overview "https://github.com/sandeepc32/gst_dashboard/blob/main/app.py"
click node_dataset "https://github.com/sandeepc32/gst_dashboard/blob/main/app.py"
click node_analysis "https://github.com/sandeepc32/gst_dashboard/blob/main/app.py"
click node_prediction "https://github.com/sandeepc32/gst_dashboard/blob/main/app.py"
click node_evaluation "https://github.com/sandeepc32/gst_dashboard/blob/main/app.py"
click node_style "https://github.com/sandeepc32/gst_dashboard/blob/main/style.py"
click node_loader "https://github.com/sandeepc32/gst_dashboard/blob/main/modules/data_loader.py"
click node_workbook "https://github.com/sandeepc32/gst_dashboard/blob/main/data/gst_input.xlsx"
click node_old_app "https://github.com/sandeepc32/gst_dashboard/blob/main/app_old.py"
click node_old_app1 "https://github.com/sandeepc32/gst_dashboard/blob/main/app_old1.py"
click node_old_app2 "https://github.com/sandeepc32/gst_dashboard/blob/main/app_old2.py"
click node_old_app3 "https://github.com/sandeepc32/gst_dashboard/blob/main/app_old3_latest.py"
click node_old_app4 "https://github.com/sandeepc32/gst_dashboard/blob/main/app_old4.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_main_app,node_overview,node_dataset,node_analysis,node_prediction,node_evaluation,node_style,node_user toneBlue
class node_loader,node_workbook toneAmber
class node_old_app,node_old_app1,node_old_app2,node_old_app3,node_old_app4 toneMint
```

## Components

### Dashboard

- [GST dashboard](https://github.com/sandeepc32/gst_dashboard/blob/main/app.py): `app.py`
- [Overview](https://github.com/sandeepc32/gst_dashboard/blob/main/app.py): `app.py`
- [Dataset explorer](https://github.com/sandeepc32/gst_dashboard/blob/main/app.py): `app.py`
- [Revenue analysis](https://github.com/sandeepc32/gst_dashboard/blob/main/app.py): `app.py`
- [Revenue prediction](https://github.com/sandeepc32/gst_dashboard/blob/main/app.py): `app.py`
- [Model evaluation](https://github.com/sandeepc32/gst_dashboard/blob/main/app.py): `app.py`
- [Dashboard styling](https://github.com/sandeepc32/gst_dashboard/blob/main/style.py): `style.py`

### Data Access

- [Excel sheet loader](https://github.com/sandeepc32/gst_dashboard/blob/main/modules/data_loader.py): `modules/data_loader.py`
- [GST input workbook](https://github.com/sandeepc32/gst_dashboard/blob/main/data/gst_input.xlsx): `data/gst_input.xlsx`

### Earlier Versions

- [Earlier dashboard](https://github.com/sandeepc32/gst_dashboard/blob/main/app_old.py): `app_old.py`
- [Earlier dashboard](https://github.com/sandeepc32/gst_dashboard/blob/main/app_old1.py): `app_old1.py`
- [Earlier dashboard](https://github.com/sandeepc32/gst_dashboard/blob/main/app_old2.py): `app_old2.py`
- [Earlier dashboard](https://github.com/sandeepc32/gst_dashboard/blob/main/app_old3_latest.py): `app_old3_latest.py`
- [Earlier dashboard](https://github.com/sandeepc32/gst_dashboard/blob/main/app_old4.py): `app_old4.py`

### Other components

- **Dashboard user**

## Connections

- Dashboard user → GST dashboard: uses (evidence: `README.md`)
- GST dashboard → Overview: presents (evidence: `README.md`)
- GST dashboard → Dataset explorer: presents (evidence: `README.md`)
- GST dashboard → Revenue analysis: presents (evidence: `README.md`)
- GST dashboard → Revenue prediction: presents (evidence: `README.md`)
- GST dashboard → Model evaluation: reports (evidence: `README.md`)
- GST dashboard → Excel sheet loader: imports (evidence: `app.py`)
- Excel sheet loader → GST input workbook: reads (evidence: `modules/data_loader.py`)
- GST dashboard → Dashboard styling: loads styles (evidence: `app.py`)
