In SAS, the GCHART Procedure enables us to produce charts and graphs. This procedure is unavailable for SAS University Edition. But, let us not get disappointed as the University Edition provides simple alternatives for some of the functions that GCHART Procedure performs.
We will use diamonds data set (check previous post) to produce some pie charts. Look at the SAS studio given below for steps.
First we select Tasks > Double click on Pie chart > Click on + and select cut > select the complete code on right > click on run
The above pie chart represents the proportion of diamonds with different qualities of cuts. Similarly, lets produce pie charts for color and clarity.
PIE CHART FOR COLOR
PIE CHART FOR CLARITY