An R package for encircling a set of points with a smooth (round-edged) convex hull in 2D using (quadratic) Bezier curves or semicircles.
devtools::install_github('paasim/circlr')
library(circlr)
library(ggplot2)
data <- data.frame(x = rnorm(5), y = rnorm(5))
circ <- circle(data, closed = TRUE)
ggplot(circ) + geom_path(aes(x = x, y = y))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.