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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 2461 views
  • 0 likes
  • 3 in conversation