This article describes how to go from a single-column table (or a single categorical variable) like this...
...to a Pie Chart, like this:
Requirements
You will need a table consisting of at least one column, or a single variable containing categorical data. If you want your pie chart to show significance testing or if you'd like to rotate your pie chart see Note below.
Method
- From the toolbar, go to Visualization
> Pies > Pie.
- Click on the page to place the visualization.
- In the Properties, under Data > Data Source > Data select the table you want to use.
- OPTIONAL: Under Data > Row Manipulations, select Sort rows.
- OPTIONAL: Under Chart > Data Series > Color palette select Strong colors.
If your input table has more than one column, then use Data > Column Manipulations > Columns to show to specify which column you would like to use in your visualization.
To create a Pie chart from a variable, in step 2, instead, use Data > Data Source > Variables and select your variable. Note that using variables as inputs comes with some caveats.
Note
The standard Pie visualization does not show significance testing results, and cannot be rotated to start at 12 o'clock (or wherever). If you require this, you'll need to select Properties > Visualization > Pie > Pie with Tests instead. Once you have the new visualization you can use the Properties > Appearance > Significance menu to configure your statistical testing shown. You can also use the Properties > Chart > Pie Slices section to configure the Rotation and other things about the sizes of things.
UPCOMING WEBINAR: Run Research Your Way With AI Skills