3-D bar chart
Shows a count or mean for every combination of two categorical variables as bars on a rotatable 3-D grid.
Menu: Graphs → More charts → 3-D bar chart…
When should I use it?
- Presenting a two-way table of means or counts visually.
What are the assumptions?
- Two categorical variables (and optionally a scale variable to average).
How do I run it in StatLab?
- Choose the X and Z categories and, optionally, the variable to average.
How do I read the output?
| Output | Meaning |
|---|---|
| Bars | Height = count or mean; hover for the value. |
Worked example
On the practice survey dataset (File → Sample dataset), this command — which the dialog's Paste button also produces — runs the procedure:
PROC vizBar3d /x=group /z='' /y=''.
Computed by StatLab's validated procedure code when this page was built. The example only illustrates the steps; choose variables that fit your own research question.
What are common mistakes?
- Reading exact values from 3-D bars — perspective distorts heights; use a clustered bar chart for precise comparison.