# chalasimon/cx-analytics-for-fintech-apps architecture

> Architecture diagram of the GitHub repository chalasimon/cx-analytics-for-fintech-apps, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/chalasimon/cx-analytics-for-fintech-apps
- Repository: https://github.com/chalasimon/cx-analytics-for-fintech-apps

## Overview

This is a customer-experience analytics project for reviews of three Ethiopian mobile banking apps. Its documented workflow collects Google Play reviews and processes them for satisfaction and pain-point analysis; the source also provides separate sentiment and thematic analysis, visualization, CSV loading, and database capabilities. The excerpts show scraper and database behavior directly, but do not show a coordinating pipeline connecting the analysis modules, so those links are omitted. Broader workflow links are supported only by the README.

Main entry points: [`src/play_store_scraper.py`](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/play_store_scraper.py) (Play Store scraper), [`src/preprocessing.py`](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/preprocessing.py) (Review cleaning), [`src/sentiment_analysis/preprocessing.py`](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/sentiment_analysis/preprocessing.py) (Sentiment text prep), [`src/sentiment_analysis/sentiment_analysis.py`](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/sentiment_analysis/sentiment_analysis.py) (Sentiment analysis)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_collection["Review collection"]
  node_scraper["Play Store scraper"]
  node_review_csv["Review CSV files"]
end

subgraph group_data["Data preparation"]
  node_loader["CSV data loader<br/>[data_loader.py]"]
  node_cleaning["Review cleaning<br/>[preprocessing.py]"]
  node_sentiment_prep["Sentiment text prep<br/>[preprocessing.py]"]
end

subgraph group_analysis["Review analysis"]
  node_sentiment["Sentiment analysis"]
  node_sentiment_viz["Sentiment visualization<br/>[visualization.py]"]
  node_themes["Thematic analysis"]
  node_theme_viz["Thematic visualization<br/>[visualization.py]"]
end

subgraph group_persistence["Data access"]
  node_database_api["Database access<br/>[Connection.py]"]
end

node_banks(("Bank app users"))
node_play_store["Google Play Store"]
node_database[("PostgreSQL database")]

node_banks -.->|"submit app IDs"| node_scraper
node_scraper -->|"fetch reviews"| node_play_store
node_scraper -->|"save reviews"| node_review_csv
node_loader -.->|"reads CSV"| node_review_csv
node_cleaning -.->|"prepare reviews"| node_sentiment_prep
node_sentiment_prep -.->|"prepare text"| node_sentiment
node_sentiment -.->|"visualize results"| node_sentiment_viz
node_cleaning -.->|"analyze reviews"| node_themes
node_themes -.->|"visualize themes"| node_theme_viz
node_database_api -->|"connect and write"| node_database

click node_scraper "https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/play_store_scraper.py"
click node_loader "https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/data_loader.py"
click node_cleaning "https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/preprocessing.py"
click node_sentiment_prep "https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/sentiment_analysis/preprocessing.py"
click node_sentiment "https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/sentiment_analysis/sentiment_analysis.py"
click node_sentiment_viz "https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/sentiment_analysis/visualization.py"
click node_themes "https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/thematic_analysis/thematic_analysis.py"
click node_theme_viz "https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/thematic_analysis/visualization.py"
click node_database_api "https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/database/Connection.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_scraper,node_review_csv,node_banks toneBlue
class node_loader,node_cleaning,node_sentiment_prep,node_database toneAmber
class node_sentiment,node_sentiment_viz,node_themes,node_theme_viz toneMint
class node_database_api toneRose
class node_play_store toneIndigo
```

## Components

### Review collection

- [Play Store scraper](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/play_store_scraper.py): `src/play_store_scraper.py`
- **Review CSV files**

### Data preparation

- [CSV data loader](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/data_loader.py): `src/data_loader.py`
- [Review cleaning](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/preprocessing.py): `src/preprocessing.py`
- [Sentiment text prep](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/sentiment_analysis/preprocessing.py): `src/sentiment_analysis/preprocessing.py`

### Review analysis

- [Sentiment analysis](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/sentiment_analysis/sentiment_analysis.py): `src/sentiment_analysis/sentiment_analysis.py`
- [Sentiment visualization](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/sentiment_analysis/visualization.py): `src/sentiment_analysis/visualization.py`
- [Thematic analysis](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/thematic_analysis/thematic_analysis.py): `src/thematic_analysis/thematic_analysis.py`
- [Thematic visualization](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/thematic_analysis/visualization.py): `src/thematic_analysis/visualization.py`

### Data access

- [Database access](https://github.com/chalasimon/cx-analytics-for-fintech-apps/blob/main/src/database/Connection.py): `src/database/Connection.py`

### Other components

- **Bank app users**
- **Google Play Store**
- **PostgreSQL database**

## Connections

- Bank app users → Play Store scraper: submit app IDs (evidence: `README.MD`)
- Play Store scraper → Google Play Store: fetch reviews (evidence: `src/play_store_scraper.py`)
- Play Store scraper → Review CSV files: save reviews (evidence: `src/play_store_scraper.py`)
- CSV data loader → Review CSV files: reads CSV (evidence: `src/data_loader.py`)
- Review cleaning → Sentiment text prep: prepare reviews (evidence: `README.MD`)
- Sentiment text prep → Sentiment analysis: prepare text (evidence: `README.MD`)
- Sentiment analysis → Sentiment visualization: visualize results (evidence: `README.MD`)
- Review cleaning → Thematic analysis: analyze reviews (evidence: `README.MD`)
- Thematic analysis → Thematic visualization: visualize themes (evidence: `README.MD`)
- Database access → PostgreSQL database: connect and write (evidence: `src/database/Connection.py`)
