Addstera

Saturday, August 23, 2025

SAS Mainframe - Create PIE Chart using SAS

With the proc chart procedure, the PIE statement will create the PIECHART. The size of a pie represents the percentage that of category of data. Since the output is in spool and not routed to any printer, it is not exact circular. 
By Default it looks bit elliptical which can be made round by specifying proper values using LPI statement. The pie's size is determined only by the SAS system options LINESIZE and PAGESIZE=. In the snippet above, LS and PS are the parameters which stands for Linesize and Pagesize.  
Code snippet:
 


O/P:





6 comments:

  1. For more SAS stuffs also check https://dbztech.blog/

    ReplyDelete
  2. A Python programming class offers guided and structured learning.It simplifies complex programming topics.Practice builds confidence.This Python programming class supports clear understanding.It is effective.

    ReplyDelete
  3. Easy PayTax makes tax filing simple with quick calculations, secure payments, and expert guidance for individuals and businesses. online CA services in Hyderabad

    ReplyDelete
  4. Easy PayTax helps you file taxes easily with accurate results, safe transactions, and reliable support every step. income tax filing services in Hyderabad

    ReplyDelete