We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd6756f commit 36c4bccCopy full SHA for 36c4bcc
inst/examples/vue_d2b_examples.R
@@ -17,11 +17,18 @@ hier_json <- hier_dat %>%
17
rename(size = vSize) %>%
18
d3_nest(value_cols = c("size", "color"))
19
20
+
21
+d2b_dep <- htmltools::htmlDependency(
22
+ name = "d2b",
23
+ version = "0.0.24",
24
+ src = c(href = "https://unpkg.com/d2b@0.0.24/build/"),
25
+ script = "d2b.min.js"
26
+)
27
28
browsable(tagList(
29
html_dependency_vue(),
30
d3r::d3_dep_v4(),
- tags$script(src = "https://unpkg.com/d3"),
- tags$script(src = "https://rawgit.com/d2bjs/d2b/master/build/d2b.js"),
31
+ d2b_dep,
32
tags$div(
33
id = "app",
34
style = "height:400px",
0 commit comments