library(ggplotly)
iplot <- ggplot(iris)+
geom_point(aes(Petal.Width, Sepal.Width))
L <- gg2list(iplot)
m <- L[[1]]$marker
if(is.null(m)){
stop("no marker")
}
if(!is.null(m$size)){
stop("size found")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.