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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 464 views
  • 0 likes
  • 2 in conversation