This article describes how to go from a table with at least two columns, like this:
To a Grouped/Clustered Pie Chart, like this:
Requirements
At least one of the following options:
- A table or a crosstab consisting of at least two rows and two columns of data.
- At least two variables.
Method 1 - via the visualization menu
- From the toolbar, or by clicking + in the Report tree, go to Visualization
> Pies > Clustered Pie.
- Click on the page where you'd like to place the visualization.
- In the object inspector
, under Data > Data Source > Data select the table you wish to display with the chart.
- If, instead of a table, you wish to use variable(s), under Data > Data Source > Variables select the variables from the drop-down menu. Alternatively, you can drag and drop the variables into the menu itself from the Data Set tree. This will be the outer ring of the visualization. Note that this method comes with some caveats.
- Select or drag a second variable into Data > Data Source > Groups for the inner pie.
- OPTIONAL: Under Chart, you can make further adjustments to the appearance of the visualization.
Method 2 - using an existing table
- Select the table.
- From the object inspector
, go to Visualization > Pies > Clustered Pie.
- OPTIONAL: Under Chart, you can make further adjustments to the appearance of the visualization.
Note
Important information about editing captions:
Visualization caption edits may not be retained when a visualization with a nested table is switched back to a table. Normally, this only occurs when you double-click the caption and edit the text directly. As a workaround, we recommend using Appearance > Caption > Edit to edit your captions.