# hernan4444/myanimelist-database architecture

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

- Interactive diagram: https://gitdiagram.com/hernan4444/myanimelist-database
- Repository: https://github.com/hernan4444/myanimelist-database

## Overview

This repository is a static anime and user-preference dataset, not an executable application. Its main use is to analyze anime metadata and user preferences for recommendation experiments. The README documents the completed-ratings file as a filtered subset of the full user anime list, and describes the HTML archives as scraped MyAnimeList pages. No source excerpts are available, so other relationships between datasets are left unspecified.

Main entry points: [`data/animelist.csv`](https://github.com/hernan4444/myanimelist-database/blob/master/data/animelist.csv) (User anime list), [`data/rating_complete.csv`](https://github.com/hernan4444/myanimelist-database/blob/master/data/rating_complete.csv) (Completed ratings), [`data/anime.csv`](https://github.com/hernan4444/myanimelist-database/blob/master/data/anime.csv) (Anime catalog), [`data/anime_with_synopsis.csv`](https://github.com/hernan4444/myanimelist-database/blob/master/data/anime_with_synopsis.csv) (Anime synopses)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_anime_data["Anime data"]
  node_anime_catalog["Anime catalog<br/>[anime.csv]"]
  node_anime_synopses["Anime synopses"]
  node_scraped_pages["Scraped HTML archives"]
end

subgraph group_user_data["User preference data"]
  node_user_list["User anime list<br/>[animelist.csv]"]
  node_completed_ratings["Completed ratings"]
  node_watching_statuses["Watching statuses"]
end

node_analyst(("Dataset consumer"))

node_user_list -->|"filtered into"| node_completed_ratings
node_analyst -->|"analyzes"| node_anime_catalog
node_analyst -->|"analyzes"| node_anime_synopses
node_analyst -->|"explores"| node_scraped_pages
node_analyst -->|"analyzes"| node_user_list
node_analyst -->|"analyzes"| node_completed_ratings

click node_anime_catalog "https://github.com/hernan4444/myanimelist-database/blob/master/data/anime.csv"
click node_anime_synopses "https://github.com/hernan4444/myanimelist-database/blob/master/data/anime_with_synopsis.csv"
click node_scraped_pages "https://github.com/hernan4444/myanimelist-database/tree/master/data/html"
click node_user_list "https://github.com/hernan4444/myanimelist-database/blob/master/data/animelist.csv"
click node_completed_ratings "https://github.com/hernan4444/myanimelist-database/blob/master/data/rating_complete.csv"
click node_watching_statuses "https://github.com/hernan4444/myanimelist-database/blob/master/data/watching_status.csv"

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_anime_catalog,node_anime_synopses,node_scraped_pages toneBlue
class node_user_list,node_completed_ratings,node_watching_statuses toneAmber
class node_analyst toneIndigo
```

## Components

### Anime data

- [Anime catalog](https://github.com/hernan4444/myanimelist-database/blob/master/data/anime.csv): `data/anime.csv`
- [Anime synopses](https://github.com/hernan4444/myanimelist-database/blob/master/data/anime_with_synopsis.csv): `data/anime_with_synopsis.csv`
- [Scraped HTML archives](https://github.com/hernan4444/myanimelist-database/tree/master/data/html): `data/html`

### User preference data

- [User anime list](https://github.com/hernan4444/myanimelist-database/blob/master/data/animelist.csv): `data/animelist.csv`
- [Completed ratings](https://github.com/hernan4444/myanimelist-database/blob/master/data/rating_complete.csv): `data/rating_complete.csv`
- [Watching statuses](https://github.com/hernan4444/myanimelist-database/blob/master/data/watching_status.csv): `data/watching_status.csv`

### Other components

- **Dataset consumer**

## Connections

- User anime list → Completed ratings: filtered into (evidence: `readme.md`)
- Dataset consumer → Anime catalog: analyzes (evidence: `readme.md`)
- Dataset consumer → Anime synopses: analyzes (evidence: `readme.md`)
- Dataset consumer → Scraped HTML archives: explores (evidence: `readme.md`)
- Dataset consumer → User anime list: analyzes (evidence: `readme.md`)
- Dataset consumer → Completed ratings: analyzes (evidence: `readme.md`)
