# mqmohring/portfolio architecture

> Architecture diagram of the GitHub repository mqmohring/portfolio, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mqmohring/portfolio
- Repository: https://github.com/mqmohring/portfolio

## Overview

##### Project type and purpose
- This is a static “portfolio” website built with Jekyll (a Ruby-based Static Site Generator).
- It’s used to host blog posts, data‐analytics projects, and pre‐generated plots (PDF/HTML) as part of Matías Q. Möhring’s data‐project portfolio on GitHub Pages.

##### File structure
- Top‐level configuration
- _config.yml / _config layout possible.yml – Jekyll site settings & custom layouts
- Gemfile – lists Ruby/Jekyll dependencies
- Source content
- \_pages/ – standalone pages (about, cv, privacy, category/tag archives)
- \_posts/ – dated Markdown blog posts
- index.md – home page content
- assets/ – SCSS, CSS, images used by the templates
- Data-plots pipeline
- plots/ – Python scripts (LAYOFFS.py Seaborn.pdf) that generate visualizations in PDF/HTML
- Deployment hints
- GitHub Pages (implicit) – the host for the built static site

##### README for additional insights
- It calls out: “This is a repository to showcase skills, share projects and track progress in Data Analytics.”
- All content is pre‐built; no dynamic back-end or database is involved.

##### Elements
- push → build → deploy → serve
- Python scripts → plot files → site static assets
- Another for storage (GitHub repo, plot folder)
- Another for runtime components (browser)

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Developer Environment
    Dev["Developer Environment\n(Ruby/Jekyll + Python)"]:::tools

    %% Repository Subgraph
    subgraph "GitHub Repository"
        direction TB
        subgraph "Jekyll Configuration"
            direction TB
            config1["_config.yml"]:::repo
            config2["_config layout possible.yml"]:::repo
            gemfile["Gemfile"]:::repo
        end
        subgraph "Repository Metadata"
            direction TB
            readme1["README.md"]:::repo
            readme2["theme_instructions.md"]:::repo
        end
        data["_data/navigation.yml"]:::repo
        subgraph "Content Pages"
            direction TB
            page404["_pages/404.md"]:::repo
            about["_pages/about.md"]:::repo
            category["_pages/category-archive.md"]:::repo
            cvPage["_pages/cv.md"]:::repo
            privacy["_pages/privacy.md"]:::repo
            projects["_pages/projects.md"]:::repo
            tag["_pages/tag-archive.md"]:::repo
            year["_pages/year-archive.md"]:::repo
        end
        subgraph "Blog Posts"
            direction TB
            post1["_posts/2010-01-07-post-modified.md"]:::repo
            post2["_posts/2010-01-07-post-standard.md"]:::repo
            post3["_posts/2010-01-08-post-chat.md"]:::repo
            post4["_posts/2010-02-05-post-notice.md"]:::repo
            post5["_posts/2010-02-05-post-quote.md"]:::repo
            post6["_posts/2010-03-07-post-link.md"]:::repo
            post7["_posts/2019-04-18-welcome-to-jekyll.md"]:::repo
        end
        index["index.md"]:::repo
        subgraph "Assets"
            direction TB
            css["assets/css/custom.scss"]:::repo
            images["assets/images/"]:::repo
        end
        subgraph "Curriculum Vitae PDFs"
            direction TB
            cvpdf1["CVMQM.pdf"]:::repo
            cvpdf2["CVMQM02.05.pdf"]:::repo
        end
        subgraph "Data-Plots Pipeline"
            direction TB
            pythonScripts["plots/LAYOFFS.py"]:::tools
            generatedPlots["plots/*.html\nSeaborn.pdf"]:::storage
        end
    end

    %% Build Pipeline
    subgraph "Build Pipeline"
        direction TB
        pyExec["Python Scripts Execution"]:::process
        jekyllBuild["Jekyll SSG Build"]:::process
    end

    %% Deployment and Hosting
    deploy["GitHub Pages Deploy"]:::host

    %% End-User
    browser["End-User Browser"]:::runtime

    %% Connections
    Dev --> RepoCmd([ ]) 
    Dev --> pythonScripts
    RepoCmd -->|push code| config1
    RepoCmd --> readme1
    RepoCmd --> data
    RepoCmd --> page404
    RepoCmd --> post1
    RepoCmd --> css
    RepoCmd --> pythonScripts
    pythonScripts --> pyExec
    generatedPlots --> jekyllBuild
    pyExec --> generatedPlots
    RepoCmd --> jekyllBuild
    jekyllBuild --> deploy
    deploy --> browser

    %% Click Events
    click config1 "https://github.com/mqmohring/portfolio/blob/master/_config.yml"
    click config2 "https://github.com/mqmohring/portfolio/blob/master/_config layout possible.yml"
    click gemfile "https://github.com/mqmohring/portfolio/tree/master/Gemfile"
    click readme1 "https://github.com/mqmohring/portfolio/blob/master/README.md"
    click readme2 "https://github.com/mqmohring/portfolio/blob/master/theme_instructions.md"
    click data "https://github.com/mqmohring/portfolio/blob/master/_data/navigation.yml"
    click page404 "https://github.com/mqmohring/portfolio/blob/master/_pages/404.md"
    click about "https://github.com/mqmohring/portfolio/blob/master/_pages/about.md"
    click category "https://github.com/mqmohring/portfolio/blob/master/_pages/category-archive.md"
    click cvPage "https://github.com/mqmohring/portfolio/blob/master/_pages/cv.md"
    click privacy "https://github.com/mqmohring/portfolio/blob/master/_pages/privacy.md"
    click projects "https://github.com/mqmohring/portfolio/blob/master/_pages/projects.md"
    click tag "https://github.com/mqmohring/portfolio/blob/master/_pages/tag-archive.md"
    click year "https://github.com/mqmohring/portfolio/blob/master/_pages/year-archive.md"
    click post1 "https://github.com/mqmohring/portfolio/blob/master/_posts/2010-01-07-post-modified.md"
    click post2 "https://github.com/mqmohring/portfolio/blob/master/_posts/2010-01-07-post-standard.md"
    click post3 "https://github.com/mqmohring/portfolio/blob/master/_posts/2010-01-08-post-chat.md"
    click post4 "https://github.com/mqmohring/portfolio/blob/master/_posts/2010-02-05-post-notice.md"
    click post5 "https://github.com/mqmohring/portfolio/blob/master/_posts/2010-02-05-post-quote.md"
    click post6 "https://github.com/mqmohring/portfolio/blob/master/_posts/2010-03-07-post-link.md"
    click post7 "https://github.com/mqmohring/portfolio/blob/master/_posts/2019-04-18-welcome-to-jekyll.md"
    click index "https://github.com/mqmohring/portfolio/blob/master/index.md"
    click css "https://github.com/mqmohring/portfolio/blob/master/assets/css/custom.scss"
    click images "https://github.com/mqmohring/portfolio/tree/master/assets/images/"
    click pythonScripts "https://github.com/mqmohring/portfolio/blob/master/plots/LAYOFFS.py"
    click generatedPlots "https://github.com/mqmohring/portfolio/blob/master/plots/layoff_percentage_box.html"
    click generatedPlots "https://github.com/mqmohring/portfolio/blob/master/plots/layoff_percentage_per_funding.html"
    click generatedPlots "https://github.com/mqmohring/portfolio/blob/master/plots/layoffs_by_country.html"
    click generatedPlots "https://github.com/mqmohring/portfolio/blob/master/plots/layoffs_per_funding.html"
    click generatedPlots "https://github.com/mqmohring/portfolio/blob/master/plots/layoffs_per_industry_2022-2025.html"
    click generatedPlots "https://github.com/mqmohring/portfolio/blob/master/plots/layoffs_per_month_2022-2025.html"
    click cvpdf1 "https://github.com/mqmohring/portfolio/blob/master/CVMQM.pdf"
    click cvpdf2 "https://github.com/mqmohring/portfolio/blob/master/CVMQM02.05.pdf"

    %% Styles
    classDef tools fill:#ADD8E6,stroke:#000,stroke-width:1px
    classDef repo fill:#90EE90,stroke:#000,stroke-width:1px
    classDef process fill:#FFDAB9,stroke:#000,stroke-width:1px
    classDef host fill:#E6E6FA,stroke:#000,stroke-width:1px
    classDef runtime fill:#FFFACD,stroke:#000,stroke-width:1px
```
