StatLabStudent EditionUser guideGalleryFeaturesAbout

Pie and donut charts

Shows each category’s share of the whole. The donut version prints the total in the centre.

Menu: Graphs → More charts → Pie / donut chart…

When should I use it?

What are the assumptions?

How do I run it in StatLab?

  1. Choose the category variable and the style.

How do I read the output?

OutputMeaning
SlicesPercent of all valid cases; labels appear on slices of 4% or more.

Worked example

On the practice survey dataset (File → Sample dataset), this command — which the dialog's Paste button also produces — runs the procedure:

PROC vizPie /x=group /kind=pie.

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?

Open StatLab   All guide topics