Below is a sample pie chart created in excel. Is it possible to create a similar pie in sas, with both inside & outside labels and callout lines?
Answering my question 🙂 Found proc gchart has this option (proc sgpie doesn't)
Example:
PROC GCHART DATA=slid;
PIE language/ DISCRETE;
VALUE = INSIDE PERCENT = INSIDE SLICE=OUTSIDE;
RUN;
Answering my question 🙂 Found proc gchart has this option (proc sgpie doesn't)
Example:
PROC GCHART DATA=slid;
PIE language/ DISCRETE;
VALUE = INSIDE PERCENT = INSIDE SLICE=OUTSIDE;
RUN;
https://blogs.sas.com/content/graphicallyspeaking/2018/06/25/pie-charts-redux/ https://blogs.sas.com/content/graphicallyspeaking/2018/12/07/the-sgpie-procedure-part-2/ https://blogs.sas.com/content/graphicallyspeaking/2012/08/26/how-about-some-pie/ https://support.sas.com/kb/45/772.html proc sgpie data=sashelp.heart; pie bp_status / DATALABELDISPLAY=(category PERCENT) DATALABELLOC=inside; run; proc sgpie data=sashelp.heart; pie bp_status / DATALABELDISPLAY=(category PERCENT) DATALABELLOC=CALLOUT; run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.