So I'm trying to generate a snakey diagram from this dataframe :
a b v
0 0 0 1
1 0 2 1
2 0 3 2
3 1 0 1
4 1 1 1
5 1 2 2
6 1 3 2
7 2 0 1
8 2 1 3
9 3 0 1
10 3 1 2
11 3 3 1
12 3 4 1
13 3 5 1
14 4 3 1
15 5 2 1
here's my code :
import holoviews as hv
import plotly.graph_objects as go
import plotly.express as pex
hv.extension('bokeh')
hv.Sankey(df_test2, kdims=["a","b"], vdims=["v"])
I get this message error : Sankey diagrams only support acyclic graphs. I don't really understand why it's not working !