BookmarkSubscribeRSS Feed
JohnChen_TW
Quartz | Level 8

Hi community,

I'm using Base SAS 9.4 and would like to draw a graph like the posted..

JohnChen_TW_0-1733338436170.png

 

I have generated a Sankey diagram by using proc sgrender, but I am unsure how to draw a rectangle with text to it, similar to the blue one overlaying the Sankey diagram.

Does anyone have any suggestions on how I can achieve this? Any help would be greatly appreciated.

Thank you!

 

Kind regards,

John

 

1 REPLY 1
RichardAD
Quartz | Level 8
Look at the documentation https://documentation.sas.com/api/docsets/grstatug/9.4/content/grstatug.pdf?locale=en Chapter "Adding Text, Legends, and Insets" is a good start

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
  • 1 reply
  • 449 views
  • 0 likes
  • 2 in conversation