Scatter Matrix
Chart overview
A scatter matrix (also called a pairs plot) arranges every combination of two variables from a multivariate dataset in a grid of scatter plots, placing univariate histograms or KDE curves on the diagonal.
Key points
- Scientists use it during exploratory data analysis to detect correlations, clusters, outliers, and non-linear relationships across all variable pairs simultaneously.
- It is an indispensable first step before fitting multivariate statistical models.
Example Visualization

Create This Chart Now
Generate publication-ready scatter matrixs with AI in seconds. No coding required – just describe your data and let AI do the work.
View example prompt
"Create a scatter matrix from my multivariate data. Show pairwise scatter plots in off-diagonal cells, plot KDE or histogram distributions on the diagonal, colour-code points by group or class, add a Pearson correlation coefficient annotation, and format as a publication-quality figure."
How to create this chart in 30 seconds
Upload Data
Drag & drop your Excel or CSV file. Plotivy securely processes it in your browser.
AI Generation
Our AI analyzes your data and generates the Scatter Matrix code automatically.
Customize & Export
Tweak the design with natural language, then export as high-res PNG, SVG or PDF.
Python Code Example
Console Output
Figure saved: plotivy-scatter-matrix.png
Common Use Cases
- 1Exploring correlations among morphological measurements in ecology datasets
- 2Screening multicollinearity in metabolomics or proteomics feature sets
- 3Identifying cluster separation before running dimensionality-reduction methods
- 4Detecting non-Gaussian distributions and outliers in clinical trial continuous endpoints
Pro Tips
Colour-code points by experimental group to reveal cluster structure across all panels
Add Pearson r values in off-diagonal panels for a quick correlation summary
Use KDE curves on the diagonal rather than histograms for smooth marginal estimates
Limit to 6-8 variables maximum to keep panels readable at figure size
Scientific Chart Selection Cheat Sheet
Not sure whether to use a Violin Plot, Box Plot, or Ridge Plot? Download our single-page reference mapping the most-used scientific chart types, exactly when to use them, and the core Matplotlib/Seaborn functions.