BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Ubai
Quartz | Level 8

Hi everyone,

 

I would like to make an alluvial diagram in SAS. I searched google and found only one link, which can be improved I guess. I though I can ask the experts. @WarrenKuhfeld, Sorry Sanjay I couldn't tag you here.

 

Here is the one link I found:

https://www.linkedin.com/pulse/alluvial-diagram-using-sas-ods-graphics-dmitry-shopin

 

I have also noticed that this diagram can be make using SAS Visual Analytics, but I don't have this unfortunately. 

I would like to create something like this, although I know it can not be an interactive graph in SAS:

https://vizhub.healthdata.org/fgh/

 

Any help, ideas, codes please? I think this is a worth of a post in the Graphically Speaking Blog.

 

Ubai

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisBrooks
Ammonite | Level 13

This is, I think, what is also called a Sankey Diagram - to be honest I don't like them as I fail to see how anyone can make any sense of the multitude of crossed lines but you might find this helpful from Github https://github.com/RhoInc/sas-sankeybarchart

View solution in original post

4 REPLIES 4
ChrisBrooks
Ammonite | Level 13

This is, I think, what is also called a Sankey Diagram - to be honest I don't like them as I fail to see how anyone can make any sense of the multitude of crossed lines but you might find this helpful from Github https://github.com/RhoInc/sas-sankeybarchart

WarrenKuhfeld
Rhodochrosite | Level 12

I don't have anything to add beyond what has already been posted.  I know Shane Rosanbalm from Rho who wrote the code to which @ChrisBrooks referred you. Shane is an excellent ODS Graphics programmer, so I would follow his lead.

Norman21
Lapis Lazuli | Level 10

"...to be honest I don't like them as I fail to see how anyone can make any sense of the multitude of crossed lines ..."

 

Actually, I think this is a way of making an important point - the "trends" in stacked bar charts over time are due to complex movements of individuals between categories, something which many people do not appreciate.

Norman.
SAS 9.4 (TS1M6) X64_10PRO WIN 10.0.17763 Workstation

Ubai
Quartz | Level 8

Thank you both. I'll use it.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 2529 views
  • 4 likes
  • 4 in conversation