Altair sankey. sankey(flows, nodes), and the diagram is drawn with Sankey.