# phk006/startup-graveyard architecture

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

- Interactive diagram: https://gitdiagram.com/phk006/startup-graveyard
- Repository: https://github.com/phk006/startup-graveyard

## Overview

The Graveyard is currently a lightweight, browser-based startup-candidate archive. Its implemented workflow loads JSON records, then renders a searchable and filterable list; CSV is also maintained as a portable dataset. The README describes maps, profiles, timelines, analytics, and verification tools as planned work, not shipped functionality, so they are not represented as runtime components. The available source excerpt shows the JSON import and rendering logic; page structure and styling relationships are based on the README, not inspected source.

Main entry points: [`index.html`](https://github.com/phk006/startup-graveyard/blob/main/index.html) (Archive page), [`src/main.js`](https://github.com/phk006/startup-graveyard/blob/main/src/main.js) (Search and render), [`data/startups.json`](https://github.com/phk006/startup-graveyard/blob/main/data/startups.json) (Startup records), [`src/style.css`](https://github.com/phk006/startup-graveyard/blob/main/src/style.css) (Responsive styling)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Research data"]
  node_json[("Startup records<br/>[startups.json]")]
  node_csv["CSV dataset<br/>[startups.csv]"]
end

subgraph group_app["Archive frontend"]
  node_renderer["Search and render<br/>[main.js]"]
end

subgraph group_presentation["Page presentation"]
  node_page["Archive page<br/>[index.html]"]
  node_styles["Responsive styling<br/>[style.css]"]
end

node_visitor(("Archive visitor"))

node_visitor -->|"browses"| node_page
node_page -->|"hosts archive"| node_renderer
node_renderer -->|"loads records"| node_json
node_renderer -->|"renders results"| node_page
node_styles -->|"styles layout"| node_page
node_json -.->|"parallel format"| node_csv

click node_json "https://github.com/phk006/startup-graveyard/blob/main/data/startups.json"
click node_csv "https://github.com/phk006/startup-graveyard/blob/main/data/startups.csv"
click node_renderer "https://github.com/phk006/startup-graveyard/blob/main/src/main.js"
click node_page "https://github.com/phk006/startup-graveyard/blob/main/index.html"
click node_styles "https://github.com/phk006/startup-graveyard/blob/main/src/style.css"

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_json,node_csv toneBlue
class node_renderer toneAmber
class node_page,node_styles toneMint
class node_visitor toneIndigo
```

## Components

### Research data

- [Startup records](https://github.com/phk006/startup-graveyard/blob/main/data/startups.json): `data/startups.json`
- [CSV dataset](https://github.com/phk006/startup-graveyard/blob/main/data/startups.csv): `data/startups.csv`

### Archive frontend

- [Search and render](https://github.com/phk006/startup-graveyard/blob/main/src/main.js): `src/main.js`

### Page presentation

- [Archive page](https://github.com/phk006/startup-graveyard/blob/main/index.html): `index.html`
- [Responsive styling](https://github.com/phk006/startup-graveyard/blob/main/src/style.css): `src/style.css`

### Other components

- **Archive visitor**

## Connections

- Archive visitor → Archive page: browses (evidence: `README.md`)
- Archive page → Search and render: hosts archive (evidence: `README.md`)
- Search and render → Startup records: loads records (evidence: `src/main.js`)
- Search and render → Archive page: renders results (evidence: `README.md`)
- Responsive styling → Archive page: styles layout (evidence: `README.md`)
- Startup records → CSV dataset: parallel format (evidence: `README.md`)
