← Back to all experiments
Exploratory AnalysisBeginnerCorrelation MatrixPairwise Visualization

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

Dataset

California Housing

Outputs

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

Code snapshot

Key lines that anchor the experiment workflow.

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.