IBM Support

How to create a pie chart with median as summary statistics and separate variables within one pie chart using Chart Builder (GGRAPH)

Question & Answer


Question

I used to create pie charts with median as summary statistics and to have separate variables in one pie chart. On the legacy pie charts this can be done with Graphs - Legacy dialogs - Pie - Summaries of separate variables. I paste the syntax and changed the summary Statistics to SUM as in this example: GET FILE = 'C:\Program Files\IBM\SPSS\Statistics\22\Samples\English\Employee data.sav'. GRAPH /PIE=Median(educ) Median(jobcat) /MISSING=LISTWISE. How to do this with Chart Builder and GGRAPH?

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"22.0;21.0;20.0;19.0","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 April 2020

UID

swg21484989