%%{init: {'theme': 'base', 'themeVariables': {'mainBkg': '#FAFAF5', 'background': '#FAFAF5', 'primaryColor': '#EAEAD6', 'nodeBorder': '#8B814C', 'lineColor': '#8B814C', 'primaryTextColor': '#191970', 'textColor': '#191970', 'fontSize': '12px', 'width': '100%'}}}%% flowchart LR A[(Clean<br/>Data)] --> B((Are all<br/>vars the same<br/>scale/unit?)) B --> C((Yes)) B --> D((No)) D -.- |Standardize<br/>Data| E(Estimate<br/>Sample<br/>Mean<br/>Vector) C --> E D --> F(Estimate<br/>Sample<br/>Mean<br/>Vector) E --> G(Estimate<br/>Sample<br/>Covariance<br/>Matrix) F --> H(Estimate<br/>Sample<br/>Correlation<br/>Matrix) G --> I(Eigenvalues<br/>Eigenvectors) H --> I