Replacing geom_sf with geom_polygon
veronoi <- deldir(ccggeom$lon, ccggeom$lat) ccggeom %>% ggplot() + geom_polygon_interactive(data = ccgpolygons, aes(x = long, y = lat, group = group)) + coord_sf(crs= 4326, datum = sf::st_crs(4326)) + geom_segment( aes(x = x1, y = y1, xend = x2, yend = y2), size = 0.25, data = veronoi$dirsgs, linetype = 1, color= "#18515E") + geom_point(aes(x = lon, y = lat), color = "grey") rm(veronoi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.