Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
Explore Siemens Communities
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Home
Discussions
Community Q&A
Sankey plot
DocMusher
Hi RM friends,
is there a sample dataset available in RM to generate a Sankey plot?
Thanks
Sven
Find more posts tagged with
AI Studio
Accepted answers
Marco_Boeck
Hi,
Nope, but I used this simple set to test it
Regards,
Marco
sankey.csv
DocMusher
The Sankey plot is so nice!
All comments
Marco_Boeck
Hi,
Nope, but I used this simple set to test it
Regards,
Marco
sankey.csv
DocMusher
The Sankey plot is so nice!
Tomi3321
Hi, the diagram given by DocMusher includes 6 destinations/layers (1st: "F", "M" and "?", ... ,6th: "Miserable" and "Non-miserable"). How was this realized in RM? The file sankey.csv given above includes only "from" and "to".
Cheers
Tom
Marco_Boeck
Hi Tom,
The "To" and "From" columns work like this:
Take all values from the "From" column which do NOT appear in the "To" column, as those are the starting nodes - there is no value that goes to them. These form the 1st layer.
The corresponding "To" colum value is now used to generate the 2nd layer.
Find all rows that have a value from the latest layer in the "From" column and use their "To" column to generate the next layer.
Step 3 is repeated until all rows are exhausted and thus everything has been added.
Regards,
Marco
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups