← Back to all experiments
Exploratory AnalysisBeginnerCorrelation MatrixPairwise Visualization

EXP2: Correlation Mapping

Correlation heatmap and pair plot to reveal feature relationships.

Key highlights

  • Heatmap shows strength of linear relationships
  • Pair plot surfaces feature clusters
  • Quick check for multicollinearity

Metrics

Correlation coefficients

Outputs

Correlation heatmap
Correlation matrix heatmap
Pair plot
Pairwise scatter plots across features

Full Python Code

The complete Python script directly from the repository.

Python
correlation_matrix = df.corr()
sns.heatmap(correlation_matrix, annot=True)
sns.pairplot(df)

Next steps

Want to explore further? Try the full gallery or open the raw script to tweak parameters.