@@ -34,7 +34,7 @@ packageVersion('plotly')
34
34
```
35
35
36
36
```
37
- ## [1] '4.7.1.9000 '
37
+ ## [1] '4.8.0 '
38
38
```
39
39
40
40
### Basic Sankey Diagram
@@ -77,7 +77,7 @@ chart_link = api_create(p, filename="sankey-basic-example")
77
77
chart_link
78
78
```
79
79
80
- <iframe src =" https://plot.ly/~RPlotBot/5280 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
80
+ <iframe src =" https://plot.ly/~RPlotBot/5404 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
81
81
82
82
### Create Canvas
83
83
@@ -87,7 +87,7 @@ library(plotly)
87
87
88
88
p <- plot_ly(
89
89
type = " sankey" ,
90
- domain = c (
90
+ domain = list (
91
91
x = c(0 ,1 ),
92
92
y = c(0 ,1 )
93
93
),
@@ -118,7 +118,7 @@ json_data <- fromJSON(paste(readLines(json_file), collapse=""))
118
118
119
119
p <- plot_ly(
120
120
type = " sankey" ,
121
- domain = c (
121
+ domain = list (
122
122
x = c(0 ,1 ),
123
123
y = c(0 ,1 )
124
124
),
@@ -159,7 +159,7 @@ json_data <- fromJSON(paste(readLines(json_file), collapse=""))
159
159
160
160
p <- plot_ly(
161
161
type = " sankey" ,
162
- domain = c (
162
+ domain = list (
163
163
x = c(0 ,1 ),
164
164
y = c(0 ,1 )
165
165
),
@@ -200,7 +200,7 @@ chart_link = api_create(p, filename="sankey-basic")
200
200
chart_link
201
201
```
202
202
203
- <iframe src =" https://plot.ly/~RPlotBot/4631 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
203
+ <iframe src =" https://plot.ly/~RPlotBot/5406 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
204
204
205
205
### Style Sankey Diagram
206
206
@@ -214,7 +214,7 @@ json_data <- fromJSON(paste(readLines(json_file), collapse=""))
214
214
215
215
p <- plot_ly(
216
216
type = " sankey" ,
217
- domain = c (
217
+ domain = list (
218
218
x = c(0 ,1 ),
219
219
y = c(0 ,1 )
220
220
),
@@ -258,7 +258,7 @@ chart_link = api_create(p, filename="sankey-dark")
258
258
chart_link
259
259
```
260
260
261
- <iframe src =" https://plot.ly/~RPlotBot/4633 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
261
+ <iframe src =" https://plot.ly/~RPlotBot/5408 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
262
262
263
263
### Reference
264
264
0 commit comments