Skip to content

3-D Charts

Three-dimensional scatterplots and bar charts that you can rotate in the output: drag with the mouse or use the arrow keys.

  • 3-D scatter: exploring how three scale variables relate at once, for example test scores against family background and homework time.
  • 3-D bar: a summary (count, mean, median, sum) on a grid of two categorical variables, when a heat map or clustered bars would hide the shape.
  • Use 3-D charts for exploration and teaching. For publication, a 2-D chart (clustered bars, a scatterplot with groups, or a scatterplot matrix) is usually easier to read accurately.
  • 3-D scatter needs three scale variables; at most 2,000 points are drawn (a fixed random sample beyond that, noted under the chart).
  • 3-D bar needs two categorical variables; error bars are not available.
  • Exports, PDF and Office files use the saved viewing angle (/VIEW), because a file cannot be rotated.
  • The back walls carry grid lines at the axis ticks; the labelled edges are nearest the viewer.
  • Hover a point or bar for its exact values. Colours follow the legend.
  • Reset returns to the saved angle; Static view shows the exported picture with PNG/SVG buttons and the data table.
  • Perspective can mislead: rotate to check that a pattern is real and not an effect of the angle.

Report the relationships with statistics (correlations, regression or means with confidence intervals) rather than from the picture, and if a 3-D figure is included state the viewing angle in the figure note.

Syntax: CHART SCATTER3D(ses WITH score WITH hours) BY girl /VIEW=AZIMUTH(35) ELEVATION(20).


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.