# 101prudencia-py/zillow-housing-data-analysis architecture

> Architecture diagram of the GitHub repository 101prudencia-py/zillow-housing-data-analysis, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/101prudencia-py/zillow-housing-data-analysis
- Repository: https://github.com/101prudencia-py/zillow-housing-data-analysis

## Overview

This repository documents a notebook-based real-estate investment analysis: use historical Zillow prices to identify promising ZIP codes and forecast values for investment decisions. The documented analysis covers ROI/CAGR ranking, exploratory visualization, stationarity and lag analysis, and a train/test modeling workflow. The source excerpts contain no notebook code, and the README ends during its train/test discussion, so the precise model, evaluation procedure, and connections between later steps are not verifiable; notebook-stage nodes therefore share the notebook path and only documented relationships are shown.

Main entry points: [`index2.ipynb`](https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb) (Analysis notebook), [`data/zillow_data.csv`](https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/data/zillow_data.csv) (Zillow time series)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Market data"]
  node_zillow["Zillow time series<br/>[zillow_data.csv]"]
end

subgraph group_analysis["Market analysis"]
  node_notebook["Analysis notebook<br/>[index2.ipynb]"]
  node_ranking["ROI/CAGR ranking<br/>[index2.ipynb]"]
  node_eda["EDA and visualization<br/>[index2.ipynb]"]
  node_trend["Trend and stationarity<br/>[index2.ipynb]"]
  node_lags["ACF/PACF analysis<br/>[index2.ipynb]"]
end

subgraph group_forecast["Investment forecasting"]
  node_split["Train/test split<br/>[index2.ipynb]"]
  node_model["Time-series model<br/>[index2.ipynb]"]
  node_forecast10["10-year forecast<br/>[index2.ipynb]"]
  node_recommendation["Top-five ZIP codes<br/>[index2.ipynb]"]
end

node_firm(("Investment firm"))

node_firm -->|"requests analysis"| node_notebook
node_zillow -->|"provides prices"| node_notebook
node_notebook -->|"computes ROI/CAGR"| node_ranking
node_notebook -->|"explores prices"| node_eda
node_notebook -->|"tests stationarity"| node_trend
node_notebook -->|"examines lags"| node_lags
node_notebook -->|"splits data"| node_split
node_notebook -.->|"builds model"| node_model
node_notebook -.->|"forecasts values"| node_forecast10
node_ranking -->|"selects top five"| node_recommendation
node_firm -->|"seeks opportunities"| node_recommendation

click node_zillow "https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/data/zillow_data.csv"
click node_notebook "https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb"
click node_ranking "https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb"
click node_eda "https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb"
click node_trend "https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb"
click node_lags "https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb"
click node_split "https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb"
click node_model "https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb"
click node_forecast10 "https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb"
click node_recommendation "https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb"

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_zillow toneBlue
class node_notebook,node_ranking,node_eda,node_trend,node_lags toneAmber
class node_split,node_model,node_forecast10,node_recommendation toneMint
class node_firm toneIndigo
```

## Components

### Market data

- [Zillow time series](https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/data/zillow_data.csv): `data/zillow_data.csv`

### Market analysis

- [Analysis notebook](https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb): `index2.ipynb`
- [ROI/CAGR ranking](https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb): `index2.ipynb`
- [EDA and visualization](https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb): `index2.ipynb`
- [Trend and stationarity](https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb): `index2.ipynb`
- [ACF/PACF analysis](https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb): `index2.ipynb`

### Investment forecasting

- [Train/test split](https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb): `index2.ipynb`
- [Time-series model](https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb): `index2.ipynb`
- [10-year forecast](https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb): `index2.ipynb`
- [Top-five ZIP codes](https://github.com/101prudencia-py/zillow-housing-data-analysis/blob/main/index2.ipynb): `index2.ipynb`

### Other components

- **Investment firm**

## Connections

- Investment firm → Analysis notebook: requests analysis (evidence: `readme.md`)
- Zillow time series → Analysis notebook: provides prices (evidence: `readme.md`)
- Analysis notebook → ROI/CAGR ranking: computes ROI/CAGR (evidence: `readme.md`)
- Analysis notebook → EDA and visualization: explores prices (evidence: `readme.md`)
- Analysis notebook → Trend and stationarity: tests stationarity (evidence: `readme.md`)
- Analysis notebook → ACF/PACF analysis: examines lags (evidence: `readme.md`)
- Analysis notebook → Train/test split: splits data (evidence: `readme.md`)
- Analysis notebook → Time-series model: builds model
- Analysis notebook → 10-year forecast: forecasts values
- ROI/CAGR ranking → Top-five ZIP codes: selects top five (evidence: `readme.md`)
- Investment firm → Top-five ZIP codes: seeks opportunities (evidence: `readme.md`)
