# zeusrealityirf/mol-entity-dashboard architecture

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

- Interactive diagram: https://gitdiagram.com/zeusrealityirf/mol-entity-dashboard
- Repository: https://github.com/zeusrealityirf/mol-entity-dashboard

## Overview

This is a React entity-statistics dashboard. A browser user opens the app, which loads the dashboard, fetches event and entity CSV data from Google Sheets, parses and filters the records, derives statistics and timelines, and renders charts and entity summaries. The runtime is concentrated in one large component; the shown excerpts support the fetch, parsing, filtering, charting, and rendering responsibilities, but do not expose every calculation or interaction in full.

Main entry points: [`src/App.jsx`](https://github.com/zeusrealityirf/mol-entity-dashboard/blob/main/src/App.jsx) (Dashboard component), [`src/main.jsx`](https://github.com/zeusrealityirf/mol-entity-dashboard/blob/main/src/main.jsx) (React entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_bootstrap["Application startup"]
  node_entry["React entry<br/>[main.jsx]"]
end

subgraph group_dashboard["Dashboard runtime"]
  node_app["Dashboard component<br/>[App.jsx]"]
  node_csv["CSV loading and parsing<br/>[App.jsx]"]
  node_analytics["Filtering and statistics<br/>[App.jsx]"]
  node_charts["Charts and summaries<br/>[App.jsx]"]
end

node_user(("Browser user"))
node_sheets[("Google Sheets CSV")]
node_recharts["Recharts"]

node_user -->|"opens app"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"loads and parses"| node_csv
node_csv -->|"fetches CSV"| node_sheets
node_csv -->|"provides records"| node_analytics
node_analytics -.->|"provides statistics"| node_charts
node_app -->|"renders"| node_charts
node_charts -->|"uses chart components"| node_recharts

click node_entry "https://github.com/zeusrealityirf/mol-entity-dashboard/blob/main/src/main.jsx"
click node_app "https://github.com/zeusrealityirf/mol-entity-dashboard/blob/main/src/App.jsx"
click node_csv "https://github.com/zeusrealityirf/mol-entity-dashboard/blob/main/src/App.jsx"
click node_analytics "https://github.com/zeusrealityirf/mol-entity-dashboard/blob/main/src/App.jsx"
click node_charts "https://github.com/zeusrealityirf/mol-entity-dashboard/blob/main/src/App.jsx"

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_entry,node_user toneBlue
class node_app,node_csv,node_analytics,node_charts,node_sheets toneAmber
class node_recharts toneIndigo
```

## Components

### Application startup

- [React entry](https://github.com/zeusrealityirf/mol-entity-dashboard/blob/main/src/main.jsx): `src/main.jsx`

### Dashboard runtime

- [Dashboard component](https://github.com/zeusrealityirf/mol-entity-dashboard/blob/main/src/App.jsx): `src/App.jsx`
- [CSV loading and parsing](https://github.com/zeusrealityirf/mol-entity-dashboard/blob/main/src/App.jsx): `src/App.jsx`
- [Filtering and statistics](https://github.com/zeusrealityirf/mol-entity-dashboard/blob/main/src/App.jsx): `src/App.jsx`
- [Charts and summaries](https://github.com/zeusrealityirf/mol-entity-dashboard/blob/main/src/App.jsx): `src/App.jsx`

### Other components

- **Browser user**
- **Google Sheets CSV**
- **Recharts**

## Connections

- Browser user → React entry: opens app (evidence: `src/main.jsx`)
- React entry → Dashboard component: renders (evidence: `src/main.jsx`)
- Dashboard component → CSV loading and parsing: loads and parses (evidence: `src/App.jsx`)
- CSV loading and parsing → Google Sheets CSV: fetches CSV (evidence: `src/App.jsx`)
- CSV loading and parsing → Filtering and statistics: provides records (evidence: `src/App.jsx`)
- Filtering and statistics → Charts and summaries: provides statistics (evidence: `src/App.jsx`)
- Dashboard component → Charts and summaries: renders (evidence: `src/App.jsx`)
- Charts and summaries → Recharts: uses chart components (evidence: `src/App.jsx`)
