# luisnavarrog/proyecto-programacion-ii architecture

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

- Interactive diagram: https://gitdiagram.com/luisnavarrog/proyecto-programacion-ii
- Repository: https://github.com/luisnavarrog/proyecto-programacion-ii

## Overview

Es una aplicación Shiny para explorar datos del Himalayan Database. El flujo principal carga los CSV al iniciar y presenta pestañas interactivas; la pestaña de picos filtra expediciones para producir rankings, dispersión y fichas ilustradas, mientras el mapa de calor resume integrantes por métrica y período. Evolución y perfil están declaradas, pero aún son marcadores de posición. Las relaciones mostradas se apoyan en el README o los archivos indexados y excerptados; no se infieren conexiones para implementaciones no muestreadas.

Main entry points: [`app.py`](https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/app.py) (Interfaz principal), [`pestanas/picos.py`](https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/pestanas/picos.py) (Explorador de picos), [`src/datos.py`](https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/src/datos.py) (Carga de datos), [`pestanas/calor.py`](https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/pestanas/calor.py) (Mapa de calor)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_aplicacion["Aplicación Shiny"]
  node_shell["Interfaz principal<br/>[app.py]"]
  node_inicio["Inicio<br/>[app.py]"]
end

subgraph group_analisis["Exploración"]
  node_evolucion["Evolución temporal<br/>[evolucion.py]"]
  node_perfil["Perfil y oxígeno<br/>[perfil.py]"]
  node_picos["Explorador de picos<br/>[picos.py]"]
  node_mapa["Mapa de calor<br/>[calor.py]"]
end

subgraph group_datos["Datos"]
  node_loader["Carga de datos<br/>[datos.py]"]
  node_csv["Datos Himalayan"]
end

subgraph group_recursos["Ilustraciones"]
  node_ilustraciones["Preparación SVG<br/>[ilustraciones.py]"]
  node_imagenes["Ilustraciones de picos"]
end

node_usuario(("Usuario"))

node_usuario -->|"explora"| node_shell
node_shell -->|"carga al iniciar"| node_loader
node_loader -->|"lee CSV"| node_csv
node_shell -->|"muestra panel"| node_inicio
node_shell -->|"monta pestaña"| node_evolucion
node_shell -->|"monta pestaña"| node_perfil
node_shell -->|"monta pestaña"| node_picos
node_shell -->|"monta pestaña"| node_mapa
node_shell -->|"inicia servidor"| node_mapa
node_shell -->|"inicia servidor"| node_picos
node_mapa -->|"obtiene datos"| node_loader
node_picos -->|"obtiene datos"| node_loader
node_picos -->|"prepara ficha"| node_ilustraciones
node_ilustraciones -->|"lee SVG"| node_imagenes

click node_shell "https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/app.py"
click node_inicio "https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/app.py"
click node_evolucion "https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/pestanas/evolucion.py"
click node_perfil "https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/pestanas/perfil.py"
click node_picos "https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/pestanas/picos.py"
click node_mapa "https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/pestanas/calor.py"
click node_loader "https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/src/datos.py"
click node_csv "https://github.com/luisnavarrog/proyecto-programacion-ii/tree/main/data"
click node_ilustraciones "https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/src/ilustraciones.py"
click node_imagenes "https://github.com/luisnavarrog/proyecto-programacion-ii/tree/main/www/imagenes"

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_shell,node_inicio toneBlue
class node_evolucion,node_perfil,node_picos,node_mapa toneAmber
class node_loader,node_csv toneMint
class node_ilustraciones,node_imagenes toneRose
class node_usuario toneIndigo
```

## Components

### Aplicación Shiny

- [Interfaz principal](https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/app.py): `app.py`
- [Inicio](https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/app.py): `app.py`

### Exploración

- [Evolución temporal](https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/pestanas/evolucion.py): `pestanas/evolucion.py`
- [Perfil y oxígeno](https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/pestanas/perfil.py): `pestanas/perfil.py`
- [Explorador de picos](https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/pestanas/picos.py): `pestanas/picos.py`
- [Mapa de calor](https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/pestanas/calor.py): `pestanas/calor.py`

### Datos

- [Carga de datos](https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/src/datos.py): `src/datos.py`
- [Datos Himalayan](https://github.com/luisnavarrog/proyecto-programacion-ii/tree/main/data): `data`

### Ilustraciones

- [Preparación SVG](https://github.com/luisnavarrog/proyecto-programacion-ii/blob/main/src/ilustraciones.py): `src/ilustraciones.py`
- [Ilustraciones de picos](https://github.com/luisnavarrog/proyecto-programacion-ii/tree/main/www/imagenes): `www/imagenes`

### Other components

- **Usuario**

## Connections

- Usuario → Interfaz principal: explora (evidence: `README.md`)
- Interfaz principal → Carga de datos: carga al iniciar (evidence: `app.py`)
- Carga de datos → Datos Himalayan: lee CSV (evidence: `src/datos.py`)
- Interfaz principal → Inicio: muestra panel (evidence: `app.py`)
- Interfaz principal → Evolución temporal: monta pestaña (evidence: `app.py`)
- Interfaz principal → Perfil y oxígeno: monta pestaña (evidence: `app.py`)
- Interfaz principal → Explorador de picos: monta pestaña (evidence: `app.py`)
- Interfaz principal → Mapa de calor: monta pestaña (evidence: `app.py`)
- Interfaz principal → Mapa de calor: inicia servidor (evidence: `app.py`)
- Interfaz principal → Explorador de picos: inicia servidor (evidence: `app.py`)
- Mapa de calor → Carga de datos: obtiene datos (evidence: `pestanas/calor.py`)
- Explorador de picos → Carga de datos: obtiene datos (evidence: `pestanas/picos.py`)
- Explorador de picos → Preparación SVG: prepara ficha (evidence: `pestanas/picos.py`)
- Preparación SVG → Ilustraciones de picos: lee SVG (evidence: `src/ilustraciones.py`)
