# sandrapaulinolopes73-art/dashboard-nexocontabil architecture

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

- Interactive diagram: https://gitdiagram.com/sandrapaulinolopes73-art/dashboard-nexocontabil
- Repository: https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil

## Overview

NexoContábil is a demonstration dashboard for exploring simulated condominium billing data. The user opens the Streamlit dashboard, filters records by billing period, and sees billing totals, a delinquency rate, three charts, a record table, and an option to download the filtered CSV. The documented stages are CSV ingestion, date/value conversion, filtering and KPI calculation, then visualization and export. The sampled app.py supports these connections; the graph does not imply that the simulated data represents real company records.

Main entry points: [`app.py`](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py) (Period filtering), [`dados/cobrancas_simuladas.csv`](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/dados/cobrancas_simuladas.csv) (Simulated billing CSV)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_input["Input data"]
  node_loader["CSV ingestion<br/>[app.py]"]
  node_csv[("Simulated billing CSV")]
end

subgraph group_analysis["Data analysis"]
  node_normalization["Date and value conversion<br/>[app.py]"]
  node_period_filter["Period filtering<br/>[app.py]"]
  node_kpis["Billing and delinquency KPIs<br/>[app.py]"]
end

subgraph group_dashboard["Dashboard"]
  node_app["Streamlit dashboard<br/>[app.py]"]
  node_status_chart["Status distribution chart<br/>[app.py]"]
  node_condo_chart["Top condominium chart<br/>[app.py]"]
  node_monthly_chart["Monthly status chart<br/>[app.py]"]
  node_records["Filtered records table<br/>[app.py]"]
  node_download["Filtered CSV download<br/>[app.py]"]
end

node_user(("Dashboard user"))

node_user -->|"opens"| node_app
node_app -->|"loads data"| node_loader
node_loader -->|"reads"| node_csv
node_loader -->|"converts fields"| node_normalization
node_app -->|"filters records"| node_period_filter
node_period_filter -->|"calculates"| node_kpis
node_period_filter -->|"provides filtered data"| node_status_chart
node_period_filter -->|"provides filtered data"| node_condo_chart
node_period_filter -->|"provides filtered data"| node_monthly_chart
node_period_filter -->|"displays"| node_records
node_period_filter -->|"exports"| node_download

click node_app "https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py"
click node_loader "https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py"
click node_csv "https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/dados/cobrancas_simuladas.csv"
click node_normalization "https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py"
click node_period_filter "https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py"
click node_kpis "https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py"
click node_status_chart "https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py"
click node_condo_chart "https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py"
click node_monthly_chart "https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py"
click node_records "https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py"
click node_download "https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/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_loader,node_csv,node_user toneBlue
class node_normalization,node_period_filter,node_kpis toneAmber
class node_app,node_status_chart,node_condo_chart,node_monthly_chart,node_records,node_download toneMint
```

## Components

### Input data

- [CSV ingestion](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py): `app.py`
- [Simulated billing CSV](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/dados/cobrancas_simuladas.csv): `dados/cobrancas_simuladas.csv`

### Data analysis

- [Date and value conversion](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py): `app.py`
- [Period filtering](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py): `app.py`
- [Billing and delinquency KPIs](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py): `app.py`

### Dashboard

- [Streamlit dashboard](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py): `app.py`
- [Status distribution chart](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py): `app.py`
- [Top condominium chart](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py): `app.py`
- [Monthly status chart](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py): `app.py`
- [Filtered records table](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py): `app.py`
- [Filtered CSV download](https://github.com/sandrapaulinolopes73-art/dashboard-nexocontabil/blob/main/app.py): `app.py`

### Other components

- **Dashboard user**

## Connections

- Dashboard user → Streamlit dashboard: opens (evidence: `README.md`)
- Streamlit dashboard → CSV ingestion: loads data (evidence: `app.py`)
- CSV ingestion → Simulated billing CSV: reads (evidence: `app.py`)
- CSV ingestion → Date and value conversion: converts fields (evidence: `app.py`)
- Streamlit dashboard → Period filtering: filters records (evidence: `app.py`)
- Period filtering → Billing and delinquency KPIs: calculates (evidence: `app.py`)
- Period filtering → Status distribution chart: provides filtered data (evidence: `app.py`)
- Period filtering → Top condominium chart: provides filtered data (evidence: `app.py`)
- Period filtering → Monthly status chart: provides filtered data (evidence: `app.py`)
- Period filtering → Filtered records table: displays (evidence: `app.py`)
- Period filtering → Filtered CSV download: exports (evidence: `app.py`)
