powered by
Creates a Shiny output container for MAIDR widgets using htmlwidgets. This provides automatic dependency injection and robust JavaScript initialization.
maidr_output(output_id, width = "100%", height = "400px")
A Shiny widget output function for use in UI
The output variable to read the plot from
The width of the plot container (default: "100percent")
The height of the plot container (default: "400px")
if (interactive()) { library(shiny) ui <- fluidPage(maidr_output("myplot")) }
Run the code above in your browser using DataLab