Interactive globes for R via globe.gl.
Visit the website for more details.
- bars
- arcs
- polygons
- points
- hex bin
Visit the website for the full list of functions
You can install the globe4r from Github:
# install.packages("remotes")
remotes::install_github("JohnCoene/globe4r")
library(globe4r)
data("population") # sample data
create_globe() %>% # initialise
globe_bars(
coords(lat, lon, altitude = value, color = value),
data = population
) %>%
scale_bars_altitude() %>%
scale_bars_color()