Quick Pie Charts in SAS University Edition

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.

pie_chart_sas

 

 

First we select Tasks > Double click on Pie chart > Click on + and select cut > select the complete code on right > click on run

PIE CHART FOR CUT

 

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_sas_2

PIE CHART FOR CLARITY

pie_chart_sas

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s