# nuuuuuu/shinshinsa-dashboard architecture

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

- Interactive diagram: https://gitdiagram.com/nuuuuuu/shinshinsa-dashboard
- Repository: https://github.com/nuuuuuu/shinshinsa-dashboard

## Overview

shinshinsa-dashboard is a static executive dashboard. Its apparent user workflow is opening a dashboard page and scanning briefing or economic-indicator views; the sampled scorecard controller renders indicator rows, highlights signals, and expands a row into a chart and guide. The source also documents briefing features for news, disclosures, monitoring points, travelers, and text annotation. Most page-to-script and page-to-data wiring is not shown in the excerpts, so those connections are omitted; only the scorecard’s internal calls are connected.

Main entry points: [`scorecard/view.js`](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/scorecard/view.js) (Scorecard controller), [`index.html`](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/index.html) (Home dashboard), [`briefing.html`](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing.html) (Briefing page), [`scorecard.html`](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/scorecard.html) (Scorecard page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Dashboard pages"]
  node_home["Home dashboard<br/>[index.html]"]
  node_briefing_page["Briefing page<br/>[briefing.html]"]
  node_scorecard_page["Scorecard page<br/>[scorecard.html]"]
  node_archive["Archive<br/>[archive.html]"]
  node_sales["Sales view<br/>[index.html]"]
  node_travelers["Travel calendar<br/>[travelers_ics.html]"]
end

subgraph group_briefing["Daily briefing"]
  node_briefing_render["Briefing renderer<br/>[render.js]"]
  node_news["News filtering<br/>[render.js]"]
  node_disclosures["Disclosure cards<br/>[render.js]"]
  node_monitoring["Monitoring points<br/>[render.js]"]
  node_trip_render["Traveler rendering<br/>[render.js]"]
  node_annotation["Text annotation<br/>[annotate.js]"]
  node_briefing_charts["Chart rendering<br/>[charts.js]"]
  node_daily_data["Daily dashboard data<br/>[data.json]"]
end

subgraph group_indicators["Economic indicators"]
  node_score_view["Scorecard controller<br/>[view.js]"]
  node_score_render["Indicator formatting<br/>[render.js]"]
  node_indicator_data["Indicator data<br/>[indicators.json]"]
  node_guide_data["Indicator guides"]
end

node_executive(("Dashboard user"))

node_executive -.->|"opens"| node_home
node_executive -.->|"opens"| node_briefing_page
node_executive -.->|"opens"| node_scorecard_page
node_score_view -->|"formats rows"| node_score_render
node_score_view -->|"draws charts"| node_briefing_charts

click node_home "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/index.html"
click node_briefing_page "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing.html"
click node_scorecard_page "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/scorecard.html"
click node_archive "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/archive.html"
click node_sales "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/sales/index.html"
click node_travelers "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/travelers_ics.html"
click node_briefing_render "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/render.js"
click node_news "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/render.js"
click node_disclosures "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/render.js"
click node_monitoring "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/render.js"
click node_trip_render "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/render.js"
click node_annotation "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/annotate.js"
click node_briefing_charts "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/charts.js"
click node_score_view "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/scorecard/view.js"
click node_score_render "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/scorecard/render.js"
click node_indicator_data "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/indicators.json"
click node_guide_data "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/indicator_guide.json"
click node_daily_data "https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/data.json"

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_home,node_briefing_page,node_scorecard_page,node_archive,node_sales,node_travelers,node_executive toneBlue
class node_briefing_render,node_news,node_disclosures,node_monitoring,node_trip_render,node_annotation,node_briefing_charts,node_daily_data toneAmber
class node_score_view,node_score_render,node_indicator_data,node_guide_data toneMint
```

## Components

### Dashboard pages

- [Home dashboard](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/index.html): `index.html`
- [Briefing page](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing.html): `briefing.html`
- [Scorecard page](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/scorecard.html): `scorecard.html`
- [Archive](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/archive.html): `archive.html`
- [Sales view](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/sales/index.html): `sales/index.html`
- [Travel calendar](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/travelers_ics.html): `travelers_ics.html`

### Daily briefing

- [Briefing renderer](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/render.js): `briefing/render.js`
- [News filtering](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/render.js): `briefing/render.js`
- [Disclosure cards](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/render.js): `briefing/render.js`
- [Monitoring points](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/render.js): `briefing/render.js`
- [Traveler rendering](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/render.js): `briefing/render.js`
- [Text annotation](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/annotate.js): `briefing/annotate.js`
- [Chart rendering](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/briefing/charts.js): `briefing/charts.js`
- [Daily dashboard data](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/data.json): `data.json`

### Economic indicators

- [Scorecard controller](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/scorecard/view.js): `scorecard/view.js`
- [Indicator formatting](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/scorecard/render.js): `scorecard/render.js`
- [Indicator data](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/indicators.json): `indicators.json`
- [Indicator guides](https://github.com/nuuuuuu/shinshinsa-dashboard/blob/main/indicator_guide.json): `indicator_guide.json`

### Other components

- **Dashboard user**

## Connections

- Dashboard user → Home dashboard: opens
- Dashboard user → Briefing page: opens
- Dashboard user → Scorecard page: opens
- Scorecard controller → Indicator formatting: formats rows (evidence: `scorecard/view.js`)
- Scorecard controller → Chart rendering: draws charts (evidence: `scorecard/view.js`)
