library(ggiraph)
library(htmltools)
shinyUI(fluidPage(
fluidRow(
column(width=12,
includeScript(path = "set_search_val.js"),
h4("click a point, the data table will be filtered...")
)
),
fluidRow(
column(width=6,
girafeOutput("plot_")
),
column(width=6,
DT::dataTableOutput("dt_")
)
)
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.