SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
marysmith
Calcite | Level 5

Hello 🙂

 

Is there any possibility to improve my piechart figure?

Its impossible to read the values, as they are overlapping.

 

Thank you 🙂piechart2.JPGpiechart.JPG

PROC GCHART 
DATA=arzneimittelgruppen;
PIE category / other=0 clockwise percent=arrow;
title 'Overview of classes of drugs and treatments in post-marketing study notification 2014-2016';
RUN;
QUIT;
3 REPLIES 3
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Not sure what to suggest other than reduce the groupings, perhaps consider a grid of x number of pie charts rather than one big one.  Also, I would highly recommend moving to sgplot/gtl.

SuryaKiran
Meteorite | Level 14

Since your pie chart has too many slices, I don't think it make sense to use pie chart. Try alternate to Pie, descending bar chart would have better presentation for this kind of data.

 

If you want to stick with pie chart then try custom legend. Check this paper.

Thanks,
Suryakiran
marysmith
Calcite | Level 5
Okay thank you. Unfortuantwelly i need to stick with the pie chart 😞
Thanky for the paper

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 2271 views
  • 0 likes
  • 3 in conversation