1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
| import plotly.graph_objects as go
fig = go.Figure(
data=[
go.Sankey(
node=dict(
pad=300,
thickness=20,
line=dict(color="white", width=0.0),
label=[
"Voyage revenues",
"Total revenues",
"Total operating expenses",
"Net income",
"Voyage expenses",
"Vessel operating expenses",
"Charter hire expenses",
"General and administrative expenses",
"Depreciation and amortization",
],
color=[
"#666666",
"#666666",
"#CC0001",
"#2BA02D",
"#CC0001",
"#CC0001",
"#CC0001",
"#CC0001",
"#CC0001",
],
),
link=dict(
source=[0, 1, 1, 2, 2, 2, 2, 2],
target=[1, 2, 3, 4, 5, 6, 7, 8],
value=[121008, 84759, 36249, 36702, 18789, 8325, 5854, 13769],
color=[
"#B3B3B3",
"#E18685",
"#9CCC9A",
"#E18685",
"#E18685",
"#E18685",
"#E18685",
"#E18685",
],
),
)
]
)
fig.update_layout(
title_text="Condensed Consolidated Statements of Operations", font_size=18
)
fig.show()
|