How to make a 3D scatter plot
- Copy the three numeric columns X, Y and Z (and a group column if needed) together with the header.
- Choose the X-axis, Y-axis and Z-axis columns and, if needed, a group column.
- Press Draw, drag the chart to rotate it, and check the automatic interpretation (correlations between axes).
Worked example with sample data
The sample data are 40 specimens measured for temperature, pressure and strength, colored by line (Line A, Line B).
Both lines show positive correlations between temperature (X) and strength (Z) and between pressure (Y) and strength (Z): Line A has r=0.71 (X-Z) and r=0.64 (Y-Z), Line B r=0.66 and r=0.74. Higher temperature and pressure both mean higher strength.
Rotating the chart reveals that at the same temperature and pressure, Line B's points float above Line A's (higher strength). From a single angle this difference is hidden, so rotate 3D charts with the mouse.
What is a 3D scatter plot?
A 3D scatter plot places each row of data as a point with three coordinates (X, Y, Z) in 3D space. It reveals patterns where three variables move together, or differences in position between groups, that a two-variable scatter plot cannot show.
Points farther away are drawn fainter to separate front from back (depth shading), and the default view has an elevation of 30° and an azimuth of -60°.
How to read a 3D scatter plot
- The automatic interpretation computes the correlation coefficients of the X-Y, X-Z and Y-Z pairs and reports pairs with |r| of 0.5 or more.
- Points that overlap from one angle may be far apart from another - check from several directions.
- Separate clusters per group mean there are differences between the groups (lines, equipment).
Frequently asked questions
How do I rotate the chart?
Hold the left mouse button on the chart and drag. Dragging horizontally changes the azimuth, vertically the elevation; the Home button returns to the original angle.
Can I see the values of a point?
Yes. The magnet cursor snaps to the nearest point and shows its x, y and z values at the top left; click to pin the tip.
Can I set the axis ranges?
3D charts use automatic ranges only. The title and the X/Y/Z axis titles can be changed in the chart editor.