Sankey custom visualization

Colin Zima · Friday Demos · March 22, 2024 · 1:55

A new custom visualization template for Sankey visualizations in Vega-Lite

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. I can go first since I'm on the mic and I never get the demo let's go uh wait I'm going to not show usage data let's start this demo properly okay uh so we had a deal this week I can't remember who it was but uh they were talking about uh sankis um which for people that don't know are charts that look like this with all the flow um it turns out they're pretty hard in Vega um and so I wanted to take a crack at actually building a sanki in Vega and so many of you have seen this let's go try to find it uh we'll go Creator you and nope that's not it um and so I went through a little experimental process

  2. of trying to actually build out the sanki um so you can sort of see my step by step here uh where I'm like trying to figure out how to move the flows and the bars but we actually got to a place where we have a pretty decent looking psyche chart um it is probably horrific by like real engineering standards but uh I actually got something that moves you know from column one to column two so we have a vague version of a sanky now uh for bonus work I'm trying to get Trine down uh it doesn't work very well yet because I can't really control sizing but I'm trying to see if I can hack my way through it a little bit um so they

  3. did a little Vega practice this week