
Sankey Diagram Labeling Controls
Sankey diagrams now show entry-point-relative percentages (e.g. 50% of flows entering a node) rather than total-flow percentages, making multi-path analysis more intuitive.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Hello everyone. This week I made some improvements to the usability of Sankey diagrams. I was analyzing tool calls in our application. Um, added crash tool for certain types. So I built this Sankey diagram to see: okay, on the third attempt, there was a " block not found" error, that's the situation. But then I noticed the percentages, because they're not 17 % of all the flows going through the diagram, and I dug into what those total percentages are made up of.
Um , in the end we identified two different uses. If I were to analyze, for example, the token cost of these calls, it would make sense that this block of repetitions would account for 13.3% of all costs or any resource. But I'm looking at real conversation streams, individual replay streams, so I need something like this where it's 50% of all entry points, and that gives us more consistent percentages across the entire chart.
So now we see that our success rate is 58%, and our long tail success rate is 29%. Um, yes, now they all agree in their vertical section. That's it. So, enjoy. If you have data about flows, you can now get the correct percentages for them . Gay.