# zackhadd/data_codes_steps architecture

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

- Interactive diagram: https://gitdiagram.com/zackhadd/data_codes_steps
- Repository: https://github.com/zackhadd/data_codes_steps

## Overview

##### Project type and purpose
- This repository is not a single application but rather a curated knowledge base and code-snippet library focused on Data Analysis, Data Engineering, and Data Science—especially on the Azure data platform (ADF, Synapse, Databricks), Power BI, Snowflake, Terraform, dbt, etc.
- The “Overview Subjects” tree contains slides, sample scripts, exam prep and reference cheat sheets. The “Codes” folder holds concrete query & DAX examples.

##### File structure
- Top-level folders:
- Codes – reusable code snippets (Power Query, DAX, SQL transforms)
- Overview Subjects – conceptual & tutorial content, subdivided by technology (ADF, Databricks, SQL, Snowflake, Power BI)
- Configuration files: none (it’s a document/code repo, not a packaged app)
- It embodies an ELT pipeline learning path: ingestion (ADF/Hive), transformation (Spark Python, SQL in Synapse), modeling (dbt, Semantic Models), presentation (Power BI), infra-as-code (Terraform).

##### Extract insights from the README
- The author’s focus on data engineering & analytics, and the fact that this is a “special” GitHub profile repo, indicates its purpose is educational reference rather than deployed service.

## Diagram (Mermaid)

```mermaid
graph TB
    %% Layers and Components

    subgraph "1. Data Sources"
        DS["On-Prem DBs, APIs, Flat Files"]:::source
    end

    subgraph "2. Ingestion Layer"
        ADF["ADF Pipelines"]:::ingestion
        Hive["Hive Scripts (HDInsight)"]:::ingestion
        Mount["Python Mount Scripts"]:::ingestion
        TForm["Data Transform Script"]:::ingestion
    end

    subgraph "3. Storage Layer"
        Raw["ADLS Gen2 - Raw Zone"]:::storage
        Curated["ADLS Gen2 - Curated Zone"]:::storage
    end

    subgraph "4. Processing Layer"
        DBX["Databricks Notebooks (PySpark)"]:::compute
        SYSQL["Synapse SQL Scripts"]:::compute
        DBT["dbt on Snowflake"]:::compute
    end

    subgraph "5. Serving Layer"
        SNOW["Snowflake Data Warehouse"]:::serving
        SYPOOL["Synapse Dedicated SQL Pools"]:::serving
    end

    subgraph "6. Semantic Layer"
        SEM["Power BI Semantic Models"]:::semantic
    end

    subgraph "7. Presentation Layer"
        PBI["Power BI Dashboards & Reports"]:::presentation
        CODES["Reusable Power Query & DAX Snippets"]:::presentation
    end

    subgraph "8. Infra-as-Code"
        TF["Terraform Configurations"]:::infra
    end

    %% Data Flows
    DS --> ADF
    DS --> Hive
    DS --> Mount
    DS --> TForm
    ADF --> Raw
    Hive --> Raw
    Mount --> Raw
    TForm --> Raw
    Raw --> DBX
    DBX --> Curated
    Curated --> DBT
    Curated --> SYSQL
    DBT --> SNOW
    SYSQL --> SYPOOL
    SNOW --> SEM
    SYPOOL --> SEM
    SEM --> PBI

    %% Infrastructure Provisioning
    TF --> ADF
    TF --> DBX
    TF --> Raw
    TF --> Curated
    TF --> SYPOOL
    TF --> SNOW

    %% Click Events
    click ADF "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/ADF/AZURE DATA FACTORY.md"
    click Hive "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/ADF/HIVE Script example for data transformation in HDinsight.hql"
    click Mount "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/ADF/mount_storage.py"
    click TForm "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/ADF/transform_population_data.py"
    click DBX "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/Databricks/Data Engineering with Databricks.md"
    click SYSQL "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/Data Engineering/Basic Synapse Codes (01.sql … 25.sql)"
    click DBT "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/dbt/dbt on snowflake.md"
    click SNOW "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/Snowflake/Snowflake Overview.md"
    click SNOW "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/Snowflake/SnowPro Exam Preparation.md"
    click SYPOOL "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/Data Engineering/DP-203 Exam Preparation.md"
    click SYPOOL "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/Data Engineering/DP-203.md"
    click SEM "https://github.com/zackhadd/data_codes_steps/blob/main/Semantic Models.md"
    click PBI "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/Power BI/DAX & PBI.md"
    click CODES "https://github.com/zackhadd/data_codes_steps/tree/main/Codes"
    click TF "https://github.com/zackhadd/data_codes_steps/blob/main/Overview Subjects/Terraform/Terraform on snowflake.md"

    %% Styles
    classDef source fill:#E8EAF6,stroke:#1A237E,color:#1A237E;
    classDef ingestion fill:#BBDEFB,stroke:#0D47A1,color:#0D47A1;
    classDef storage fill:#C8E6C9,stroke:#1B5E20,color:#1B5E20;
    classDef compute fill:#FFE0B2,stroke:#E65100,color:#E65100;
    classDef serving fill:#FFF9C4,stroke:#F57F17,color:#F57F17;
    classDef semantic fill:#F8BBD0,stroke:#880E4F,color:#880E4F;
    classDef presentation fill:#B2EBF2,stroke:#006064,color:#006064;
    classDef infra fill:#CFD8DC,stroke:#263238,color:#263238;
```
