apexsankey 1.1.3 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,11 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Document</title>
7
7
  <link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap" rel="stylesheet" />
8
+ <script src="https://cdn.jsdelivr.net/npm/@svgdotjs/svg.js"></script>
8
9
  <script src="../apexsankey.min.js"></script>
9
10
  </head>
10
11
  <body>
@@ -13,412 +14,412 @@
13
14
  const data = {
14
15
  nodes: [
15
16
  {
16
- id: "Beverages",
17
- title: "Beverages"
17
+ id: 'Beverages',
18
+ title: 'Beverages',
18
19
  },
19
20
  {
20
- id: "Condiments",
21
- title: "Condiments"
21
+ id: 'Condiments',
22
+ title: 'Condiments',
22
23
  },
23
24
  {
24
- id: "Produce",
25
- title: "Produce"
25
+ id: 'Produce',
26
+ title: 'Produce',
26
27
  },
27
28
  {
28
- id: "Seafood",
29
- title: "Seafood"
29
+ id: 'Seafood',
30
+ title: 'Seafood',
30
31
  },
31
32
  {
32
- id: "Dairy Products",
33
- title: "Dairy Products"
33
+ id: 'Dairy Products',
34
+ title: 'Dairy Products',
34
35
  },
35
36
  {
36
- id: "Confections",
37
- title: "Confections"
37
+ id: 'Confections',
38
+ title: 'Confections',
38
39
  },
39
40
  {
40
- id: "Grains-Cereals",
41
- title: "Grains-Cereals"
41
+ id: 'Grains-Cereals',
42
+ title: 'Grains-Cereals',
42
43
  },
43
44
  {
44
- id: "Meat-Poultry",
45
- title: "Meat-Poultry"
45
+ id: 'Meat-Poultry',
46
+ title: 'Meat-Poultry',
46
47
  },
47
48
  {
48
- id: "Chai",
49
- title: "Chai"
49
+ id: 'Chai',
50
+ title: 'Chai',
50
51
  },
51
52
  {
52
- id: "Chang",
53
- title: "Chang"
53
+ id: 'Chang',
54
+ title: 'Chang',
54
55
  },
55
56
  {
56
- id: "Aniseed Syrup",
57
- title: "Aniseed Syrup"
57
+ id: 'Aniseed Syrup',
58
+ title: 'Aniseed Syrup',
58
59
  },
59
60
  {
60
61
  id: "Chef Anton's Cajun Seasoning",
61
- title: "Chef Anton's Cajun Seasoning"
62
+ title: "Chef Anton's Cajun Seasoning",
62
63
  },
63
64
  {
64
65
  id: "Grandma's Boysenberry Spread",
65
- title: "Grandma's Boysenberry Spread"
66
+ title: "Grandma's Boysenberry Spread",
66
67
  },
67
68
  {
68
69
  id: "Uncle Bob's Organic Dried Pears",
69
- title: "Uncle Bob's Organic Dried Pears"
70
+ title: "Uncle Bob's Organic Dried Pears",
70
71
  },
71
72
  {
72
- id: "Northwoods Cranberry Sauce",
73
- title: "Northwoods Cranberry Sauce"
73
+ id: 'Northwoods Cranberry Sauce',
74
+ title: 'Northwoods Cranberry Sauce',
74
75
  },
75
76
  {
76
- id: "Ikura",
77
- title: "Ikura"
77
+ id: 'Ikura',
78
+ title: 'Ikura',
78
79
  },
79
80
  {
80
- id: "Queso Cabrales",
81
- title: "Queso Cabrales"
81
+ id: 'Queso Cabrales',
82
+ title: 'Queso Cabrales',
82
83
  },
83
84
  {
84
- id: "Queso Manchego La Pastora",
85
- title: "Queso Manchego La Pastora"
85
+ id: 'Queso Manchego La Pastora',
86
+ title: 'Queso Manchego La Pastora',
86
87
  },
87
88
  {
88
- id: "Konbu",
89
- title: "Konbu"
89
+ id: 'Konbu',
90
+ title: 'Konbu',
90
91
  },
91
92
  {
92
- id: "Tofu",
93
- title: "Tofu"
93
+ id: 'Tofu',
94
+ title: 'Tofu',
94
95
  },
95
96
  {
96
- id: "Genen Shouyu",
97
- title: "Genen Shouyu"
97
+ id: 'Genen Shouyu',
98
+ title: 'Genen Shouyu',
98
99
  },
99
100
  {
100
- id: "Pavlova",
101
- title: "Pavlova"
101
+ id: 'Pavlova',
102
+ title: 'Pavlova',
102
103
  },
103
104
  {
104
- id: "Carnarvon Tigers",
105
- title: "Carnarvon Tigers"
105
+ id: 'Carnarvon Tigers',
106
+ title: 'Carnarvon Tigers',
106
107
  },
107
108
  {
108
- id: "Teatime Chocolate Biscuits",
109
- title: "Teatime Chocolate Biscuits"
109
+ id: 'Teatime Chocolate Biscuits',
110
+ title: 'Teatime Chocolate Biscuits',
110
111
  },
111
112
  {
112
113
  id: "Sir Rodney's Marmalade",
113
- title: "Sir Rodney's Marmalade"
114
+ title: "Sir Rodney's Marmalade",
114
115
  },
115
116
  {
116
117
  id: "Sir Rodney's Scones",
117
- title: "Sir Rodney's Scones"
118
+ title: "Sir Rodney's Scones",
118
119
  },
119
120
  {
120
121
  id: "Gustaf's Knäckebröd",
121
- title: "Gustaf's Knäckebröd"
122
+ title: "Gustaf's Knäckebröd",
122
123
  },
123
124
  {
124
- id: "Tunnbröd",
125
- title: "Tunnbröd"
125
+ id: 'Tunnbröd',
126
+ title: 'Tunnbröd',
126
127
  },
127
128
  {
128
- id: "NuNuCa Nuß-Nougat-Creme",
129
- title: "NuNuCa Nuß-Nougat-Creme"
129
+ id: 'NuNuCa Nuß-Nougat-Creme',
130
+ title: 'NuNuCa Nuß-Nougat-Creme',
130
131
  },
131
132
  {
132
- id: "Gumbär Gummibärchen",
133
- title: "Gumbär Gummibärchen"
133
+ id: 'Gumbär Gummibärchen',
134
+ title: 'Gumbär Gummibärchen',
134
135
  },
135
136
  {
136
- id: "Schoggi Schokolade",
137
- title: "Schoggi Schokolade"
137
+ id: 'Schoggi Schokolade',
138
+ title: 'Schoggi Schokolade',
138
139
  },
139
140
  {
140
- id: "Nord-Ost Matjeshering",
141
- title: "Nord-Ost Matjeshering"
141
+ id: 'Nord-Ost Matjeshering',
142
+ title: 'Nord-Ost Matjeshering',
142
143
  },
143
144
  {
144
- id: "Gorgonzola Telino",
145
- title: "Gorgonzola Telino"
145
+ id: 'Gorgonzola Telino',
146
+ title: 'Gorgonzola Telino',
146
147
  },
147
148
  {
148
- id: "Mascarpone Fabioli",
149
- title: "Mascarpone Fabioli"
149
+ id: 'Mascarpone Fabioli',
150
+ title: 'Mascarpone Fabioli',
150
151
  },
151
152
  {
152
- id: "Geitost",
153
- title: "Geitost"
153
+ id: 'Geitost',
154
+ title: 'Geitost',
154
155
  },
155
156
  {
156
- id: "Sasquatch Ale",
157
- title: "Sasquatch Ale"
157
+ id: 'Sasquatch Ale',
158
+ title: 'Sasquatch Ale',
158
159
  },
159
160
  {
160
- id: "Steeleye Stout",
161
- title: "Steeleye Stout"
161
+ id: 'Steeleye Stout',
162
+ title: 'Steeleye Stout',
162
163
  },
163
164
  {
164
- id: "Inlagd Sill",
165
- title: "Inlagd Sill"
165
+ id: 'Inlagd Sill',
166
+ title: 'Inlagd Sill',
166
167
  },
167
168
  {
168
- id: "Gravad lax",
169
- title: "Gravad lax"
169
+ id: 'Gravad lax',
170
+ title: 'Gravad lax',
170
171
  },
171
172
  {
172
- id: "Côte de Blaye",
173
- title: "Côte de Blaye"
173
+ id: 'Côte de Blaye',
174
+ title: 'Côte de Blaye',
174
175
  },
175
176
  {
176
- id: "Chartreuse verte",
177
- title: "Chartreuse verte"
177
+ id: 'Chartreuse verte',
178
+ title: 'Chartreuse verte',
178
179
  },
179
180
  {
180
- id: "Boston Crab Meat",
181
- title: "Boston Crab Meat"
181
+ id: 'Boston Crab Meat',
182
+ title: 'Boston Crab Meat',
182
183
  },
183
184
  {
184
185
  id: "Jack's New England Clam Chowder",
185
- title: "Jack's New England Clam Chowder"
186
+ title: "Jack's New England Clam Chowder",
186
187
  },
187
188
  {
188
- id: "Ipoh Coffee",
189
- title: "Ipoh Coffee"
189
+ id: 'Ipoh Coffee',
190
+ title: 'Ipoh Coffee',
190
191
  },
191
192
  {
192
- id: "Gula Malacca",
193
- title: "Gula Malacca"
193
+ id: 'Gula Malacca',
194
+ title: 'Gula Malacca',
194
195
  },
195
196
  {
196
- id: "Rogede sild",
197
- title: "Rogede sild"
197
+ id: 'Rogede sild',
198
+ title: 'Rogede sild',
198
199
  },
199
200
  {
200
- id: "Spegesild",
201
- title: "Spegesild"
201
+ id: 'Spegesild',
202
+ title: 'Spegesild',
202
203
  },
203
204
  {
204
- id: "Zaanse koeken",
205
- title: "Zaanse koeken"
205
+ id: 'Zaanse koeken',
206
+ title: 'Zaanse koeken',
206
207
  },
207
208
  {
208
- id: "Chocolade",
209
- title: "Chocolade"
209
+ id: 'Chocolade',
210
+ title: 'Chocolade',
210
211
  },
211
212
  {
212
- id: "Maxilaku",
213
- title: "Maxilaku"
213
+ id: 'Maxilaku',
214
+ title: 'Maxilaku',
214
215
  },
215
216
  {
216
- id: "Valkoinen suklaa",
217
- title: "Valkoinen suklaa"
217
+ id: 'Valkoinen suklaa',
218
+ title: 'Valkoinen suklaa',
218
219
  },
219
220
  {
220
- id: "Manjimup Dried Apples",
221
- title: "Manjimup Dried Apples"
221
+ id: 'Manjimup Dried Apples',
222
+ title: 'Manjimup Dried Apples',
222
223
  },
223
224
  {
224
- id: "Filo Mix",
225
- title: "Filo Mix"
225
+ id: 'Filo Mix',
226
+ title: 'Filo Mix',
226
227
  },
227
228
  {
228
- id: "Tourtière",
229
- title: "Tourtière"
229
+ id: 'Tourtière',
230
+ title: 'Tourtière',
230
231
  },
231
232
  {
232
- id: "Pâté chinois",
233
- title: "Pâté chinois"
233
+ id: 'Pâté chinois',
234
+ title: 'Pâté chinois',
234
235
  },
235
236
  {
236
- id: "Gnocchi di nonna Alice",
237
- title: "Gnocchi di nonna Alice"
237
+ id: 'Gnocchi di nonna Alice',
238
+ title: 'Gnocchi di nonna Alice',
238
239
  },
239
240
  {
240
- id: "Ravioli Angelo",
241
- title: "Ravioli Angelo"
241
+ id: 'Ravioli Angelo',
242
+ title: 'Ravioli Angelo',
242
243
  },
243
244
  {
244
- id: "Escargots de Bourgogne",
245
- title: "Escargots de Bourgogne"
245
+ id: 'Escargots de Bourgogne',
246
+ title: 'Escargots de Bourgogne',
246
247
  },
247
248
  {
248
- id: "Raclette Courdavault",
249
- title: "Raclette Courdavault"
249
+ id: 'Raclette Courdavault',
250
+ title: 'Raclette Courdavault',
250
251
  },
251
252
  {
252
- id: "Camembert Pierrot",
253
- title: "Camembert Pierrot"
253
+ id: 'Camembert Pierrot',
254
+ title: 'Camembert Pierrot',
254
255
  },
255
256
  {
256
257
  id: "Sirop d'érable",
257
- title: "Sirop d'érable"
258
+ title: "Sirop d'érable",
258
259
  },
259
260
  {
260
- id: "Tarte au sucre",
261
- title: "Tarte au sucre"
261
+ id: 'Tarte au sucre',
262
+ title: 'Tarte au sucre',
262
263
  },
263
264
  {
264
- id: "Vegie-spread",
265
- title: "Vegie-spread"
265
+ id: 'Vegie-spread',
266
+ title: 'Vegie-spread',
266
267
  },
267
268
  {
268
- id: "Wimmers gute Semmelknödel",
269
- title: "Wimmers gute Semmelknödel"
269
+ id: 'Wimmers gute Semmelknödel',
270
+ title: 'Wimmers gute Semmelknödel',
270
271
  },
271
272
  {
272
- id: "Louisiana Fiery Hot Pepper Sauce",
273
- title: "Louisiana Fiery Hot Pepper Sauce"
273
+ id: 'Louisiana Fiery Hot Pepper Sauce',
274
+ title: 'Louisiana Fiery Hot Pepper Sauce',
274
275
  },
275
276
  {
276
- id: "Louisiana Hot Spiced Okra",
277
- title: "Louisiana Hot Spiced Okra"
277
+ id: 'Louisiana Hot Spiced Okra',
278
+ title: 'Louisiana Hot Spiced Okra',
278
279
  },
279
280
  {
280
- id: "Laughing Lumberjack Lager",
281
- title: "Laughing Lumberjack Lager"
281
+ id: 'Laughing Lumberjack Lager',
282
+ title: 'Laughing Lumberjack Lager',
282
283
  },
283
284
  {
284
- id: "Scottish Longbreads",
285
- title: "Scottish Longbreads"
285
+ id: 'Scottish Longbreads',
286
+ title: 'Scottish Longbreads',
286
287
  },
287
288
  {
288
- id: "Gudbrandsdalsost",
289
- title: "Gudbrandsdalsost"
289
+ id: 'Gudbrandsdalsost',
290
+ title: 'Gudbrandsdalsost',
290
291
  },
291
292
  {
292
- id: "Outback Lager",
293
- title: "Outback Lager"
293
+ id: 'Outback Lager',
294
+ title: 'Outback Lager',
294
295
  },
295
296
  {
296
- id: "Flotemysost",
297
- title: "Flotemysost"
297
+ id: 'Flotemysost',
298
+ title: 'Flotemysost',
298
299
  },
299
300
  {
300
- id: "Mozzarella di Giovanni",
301
- title: "Mozzarella di Giovanni"
301
+ id: 'Mozzarella di Giovanni',
302
+ title: 'Mozzarella di Giovanni',
302
303
  },
303
304
  {
304
- id: "Röd Kaviar",
305
- title: "Röd Kaviar"
305
+ id: 'Röd Kaviar',
306
+ title: 'Röd Kaviar',
306
307
  },
307
308
  {
308
- id: "Longlife Tofu",
309
- title: "Longlife Tofu"
309
+ id: 'Longlife Tofu',
310
+ title: 'Longlife Tofu',
310
311
  },
311
312
  {
312
- id: "Rhönbräu Klosterbier",
313
- title: "Rhönbräu Klosterbier"
313
+ id: 'Rhönbräu Klosterbier',
314
+ title: 'Rhönbräu Klosterbier',
314
315
  },
315
316
  {
316
- id: "Lakkalikööri",
317
- title: "Lakkalikööri"
317
+ id: 'Lakkalikööri',
318
+ title: 'Lakkalikööri',
318
319
  },
319
320
  {
320
- id: "Original Frankfurter grüne Soße",
321
- title: "Original Frankfurter grüne Soße"
322
- }
321
+ id: 'Original Frankfurter grüne Soße',
322
+ title: 'Original Frankfurter grüne Soße',
323
+ },
323
324
  ],
324
325
  edges: [
325
- { source: "Beverages", target: "Chai", value: 41 },
326
- { source: "Beverages", target: "Chang", value: 17 },
327
- { source: "Condiments", target: "Aniseed Syrup", value: 13 },
328
- { source: "Condiments", target: "Chef Anton's Cajun Seasoning", value: 53 },
326
+ {source: 'Beverages', target: 'Chai', value: 41},
327
+ {source: 'Beverages', target: 'Chang', value: 17},
328
+ {source: 'Condiments', target: 'Aniseed Syrup', value: 13},
329
+ {source: 'Condiments', target: "Chef Anton's Cajun Seasoning", value: 53},
329
330
  {
330
- source: "Condiments",
331
+ source: 'Condiments',
331
332
  target: "Grandma's Boysenberry Spread",
332
- value: 120
333
- },
334
- { source: "Produce", target: "Uncle Bob's Organic Dried Pears", value: 15 },
335
- { source: "Condiments", target: "Northwoods Cranberry Sauce", value: 6 },
336
- { source: "Seafood", target: "Ikura", value: 31 },
337
- { source: "Dairy Products", target: "Queso Cabrales", value: 22 },
338
- {
339
- source: "Dairy Products",
340
- target: "Queso Manchego La Pastora",
341
- value: 86
342
- },
343
- { source: "Seafood", target: "Konbu", value: 24 },
344
- { source: "Produce", target: "Tofu", value: 35 },
345
- { source: "Condiments", target: "Genen Shouyu", value: 39 },
346
- { source: "Confections", target: "Pavlova", value: 29 },
347
- { source: "Seafood", target: "Carnarvon Tigers", value: 42 },
348
- { source: "Confections", target: "Teatime Chocolate Biscuits", value: 25 },
349
- { source: "Confections", target: "Sir Rodney's Marmalade", value: 40 },
350
- { source: "Confections", target: "Sir Rodney's Scones", value: 3 },
351
- { source: "Grains-Cereals", target: "Gustaf's Knäckebröd", value: 104 },
352
- { source: "Grains-Cereals", target: "Tunnbröd", value: 61 },
353
- { source: "Confections", target: "NuNuCa Nuß-Nougat-Creme", value: 76 },
354
- { source: "Confections", target: "Gumbär Gummibärchen", value: 15 },
355
- { source: "Confections", target: "Schoggi Schokolade", value: 49 },
356
- { source: "Seafood", target: "Nord-Ost Matjeshering", value: 10 },
357
- { source: "Dairy Products", target: "Gorgonzola Telino", value: 0 },
358
- { source: "Dairy Products", target: "Mascarpone Fabioli", value: 9 },
359
- { source: "Dairy Products", target: "Geitost", value: 112 },
360
- { source: "Beverages", target: "Sasquatch Ale", value: 111 },
361
- { source: "Beverages", target: "Steeleye Stout", value: 20 },
362
- { source: "Seafood", target: "Inlagd Sill", value: 112 },
363
- { source: "Seafood", target: "Gravad lax", value: 11 },
364
- { source: "Beverages", target: "Côte de Blaye", value: 17 },
365
- { source: "Beverages", target: "Chartreuse verte", value: 69 },
366
- { source: "Seafood", target: "Boston Crab Meat", value: 150 },
367
- { source: "Seafood", target: "Jack's New England Clam Chowder", value: 85 },
368
- { source: "Beverages", target: "Ipoh Coffee", value: 17 },
369
- { source: "Condiments", target: "Gula Malacca", value: 27 },
370
- { source: "Seafood", target: "Rogede sild", value: 5 },
371
- { source: "Seafood", target: "Spegesild", value: 95 },
372
- { source: "Confections", target: "Zaanse koeken", value: 36 },
373
- { source: "Confections", target: "Chocolade", value: 15 },
374
- { source: "Confections", target: "Maxilaku", value: 10 },
375
- { source: "Confections", target: "Valkoinen suklaa", value: 65 },
376
- { source: "Produce", target: "Manjimup Dried Apples", value: 20 },
377
- { source: "Grains-Cereals", target: "Filo Mix", value: 38 },
378
- { source: "Meat-Poultry", target: "Tourtière", value: 21 },
379
- { source: "Meat-Poultry", target: "Pâté chinois", value: 150 },
380
- { source: "Grains-Cereals", target: "Gnocchi di nonna Alice", value: 21 },
381
- { source: "Grains-Cereals", target: "Ravioli Angelo", value: 36 },
382
- { source: "Seafood", target: "Escargots de Bourgogne", value: 62 },
383
- { source: "Dairy Products", target: "Raclette Courdavault", value: 79 },
384
- { source: "Dairy Products", target: "Camembert Pierrot", value: 19 },
385
- { source: "Condiments", target: "Sirop d'érable", value: 150 },
386
- { source: "Confections", target: "Tarte au sucre", value: 17 },
387
- { source: "Condiments", target: "Vegie-spread", value: 24 },
388
- {
389
- source: "Grains-Cereals",
390
- target: "Wimmers gute Semmelknödel",
391
- value: 22
392
- },
393
- {
394
- source: "Condiments",
395
- target: "Louisiana Fiery Hot Pepper Sauce",
396
- value: 76
397
- },
398
- { source: "Condiments", target: "Louisiana Hot Spiced Okra", value: 4 },
399
- { source: "Beverages", target: "Laughing Lumberjack Lager", value: 52 },
400
- { source: "Confections", target: "Scottish Longbreads", value: 6 },
401
- { source: "Dairy Products", target: "Gudbrandsdalsost", value: 26 },
402
- { source: "Beverages", target: "Outback Lager", value: 15 },
403
- { source: "Dairy Products", target: "Flotemysost", value: 26 },
404
- { source: "Dairy Products", target: "Mozzarella di Giovanni", value: 14 },
405
- { source: "Seafood", target: "Röd Kaviar", value: 101 },
406
- { source: "Produce", target: "Longlife Tofu", value: 4 },
407
- { source: "Beverages", target: "Rhönbräu Klosterbier", value: 150 },
408
- { source: "Beverages", target: "Lakkalikööri", value: 57 },
409
- {
410
- source: "Condiments",
411
- target: "Original Frankfurter grüne Soße",
412
- value: 32
413
- }
414
- ]
333
+ value: 120,
334
+ },
335
+ {source: 'Produce', target: "Uncle Bob's Organic Dried Pears", value: 15},
336
+ {source: 'Condiments', target: 'Northwoods Cranberry Sauce', value: 6},
337
+ {source: 'Seafood', target: 'Ikura', value: 31},
338
+ {source: 'Dairy Products', target: 'Queso Cabrales', value: 22},
339
+ {
340
+ source: 'Dairy Products',
341
+ target: 'Queso Manchego La Pastora',
342
+ value: 86,
343
+ },
344
+ {source: 'Seafood', target: 'Konbu', value: 24},
345
+ {source: 'Produce', target: 'Tofu', value: 35},
346
+ {source: 'Condiments', target: 'Genen Shouyu', value: 39},
347
+ {source: 'Confections', target: 'Pavlova', value: 29},
348
+ {source: 'Seafood', target: 'Carnarvon Tigers', value: 42},
349
+ {source: 'Confections', target: 'Teatime Chocolate Biscuits', value: 25},
350
+ {source: 'Confections', target: "Sir Rodney's Marmalade", value: 40},
351
+ {source: 'Confections', target: "Sir Rodney's Scones", value: 3},
352
+ {source: 'Grains-Cereals', target: "Gustaf's Knäckebröd", value: 104},
353
+ {source: 'Grains-Cereals', target: 'Tunnbröd', value: 61},
354
+ {source: 'Confections', target: 'NuNuCa Nuß-Nougat-Creme', value: 76},
355
+ {source: 'Confections', target: 'Gumbär Gummibärchen', value: 15},
356
+ {source: 'Confections', target: 'Schoggi Schokolade', value: 49},
357
+ {source: 'Seafood', target: 'Nord-Ost Matjeshering', value: 10},
358
+ {source: 'Dairy Products', target: 'Gorgonzola Telino', value: 0},
359
+ {source: 'Dairy Products', target: 'Mascarpone Fabioli', value: 9},
360
+ {source: 'Dairy Products', target: 'Geitost', value: 112},
361
+ {source: 'Beverages', target: 'Sasquatch Ale', value: 111},
362
+ {source: 'Beverages', target: 'Steeleye Stout', value: 20},
363
+ {source: 'Seafood', target: 'Inlagd Sill', value: 112},
364
+ {source: 'Seafood', target: 'Gravad lax', value: 11},
365
+ {source: 'Beverages', target: 'Côte de Blaye', value: 17},
366
+ {source: 'Beverages', target: 'Chartreuse verte', value: 69},
367
+ {source: 'Seafood', target: 'Boston Crab Meat', value: 150},
368
+ {source: 'Seafood', target: "Jack's New England Clam Chowder", value: 85},
369
+ {source: 'Beverages', target: 'Ipoh Coffee', value: 17},
370
+ {source: 'Condiments', target: 'Gula Malacca', value: 27},
371
+ {source: 'Seafood', target: 'Rogede sild', value: 5},
372
+ {source: 'Seafood', target: 'Spegesild', value: 95},
373
+ {source: 'Confections', target: 'Zaanse koeken', value: 36},
374
+ {source: 'Confections', target: 'Chocolade', value: 15},
375
+ {source: 'Confections', target: 'Maxilaku', value: 10},
376
+ {source: 'Confections', target: 'Valkoinen suklaa', value: 65},
377
+ {source: 'Produce', target: 'Manjimup Dried Apples', value: 20},
378
+ {source: 'Grains-Cereals', target: 'Filo Mix', value: 38},
379
+ {source: 'Meat-Poultry', target: 'Tourtière', value: 21},
380
+ {source: 'Meat-Poultry', target: 'Pâté chinois', value: 150},
381
+ {source: 'Grains-Cereals', target: 'Gnocchi di nonna Alice', value: 21},
382
+ {source: 'Grains-Cereals', target: 'Ravioli Angelo', value: 36},
383
+ {source: 'Seafood', target: 'Escargots de Bourgogne', value: 62},
384
+ {source: 'Dairy Products', target: 'Raclette Courdavault', value: 79},
385
+ {source: 'Dairy Products', target: 'Camembert Pierrot', value: 19},
386
+ {source: 'Condiments', target: "Sirop d'érable", value: 150},
387
+ {source: 'Confections', target: 'Tarte au sucre', value: 17},
388
+ {source: 'Condiments', target: 'Vegie-spread', value: 24},
389
+ {
390
+ source: 'Grains-Cereals',
391
+ target: 'Wimmers gute Semmelknödel',
392
+ value: 22,
393
+ },
394
+ {
395
+ source: 'Condiments',
396
+ target: 'Louisiana Fiery Hot Pepper Sauce',
397
+ value: 76,
398
+ },
399
+ {source: 'Condiments', target: 'Louisiana Hot Spiced Okra', value: 4},
400
+ {source: 'Beverages', target: 'Laughing Lumberjack Lager', value: 52},
401
+ {source: 'Confections', target: 'Scottish Longbreads', value: 6},
402
+ {source: 'Dairy Products', target: 'Gudbrandsdalsost', value: 26},
403
+ {source: 'Beverages', target: 'Outback Lager', value: 15},
404
+ {source: 'Dairy Products', target: 'Flotemysost', value: 26},
405
+ {source: 'Dairy Products', target: 'Mozzarella di Giovanni', value: 14},
406
+ {source: 'Seafood', target: 'Röd Kaviar', value: 101},
407
+ {source: 'Produce', target: 'Longlife Tofu', value: 4},
408
+ {source: 'Beverages', target: 'Rhönbräu Klosterbier', value: 150},
409
+ {source: 'Beverages', target: 'Lakkalikööri', value: 57},
410
+ {
411
+ source: 'Condiments',
412
+ target: 'Original Frankfurter grüne Soße',
413
+ value: 32,
414
+ },
415
+ ],
415
416
  };
416
417
  const graphOptions = {
417
418
  nodeWidth: 20,
418
- fontFamily: "Quicksand, sans-serif",
419
- fontWeight: 600,
420
- fontSize: "10px",
421
- spacing: 20
419
+ fontFamily: 'Quicksand, sans-serif',
420
+ fontWeight: '600',
421
+ fontSize: '10px',
422
+ spacing: 20,
422
423
  };
423
424
  const s = new ApexSankey(document.getElementById('svg-sankey'), graphOptions);
424
425
  s.render(data);