globe4r

🌎 Interactive globe visualisations

globe · r · rstats · visualisation
入门
GitHub在线演示
Stars:57
License:Other
更新:2025/10/22

README

Travis build
status Lifecycle:
maturing AppVeyor build
status

globe4r

Interactive globes for R via globe.gl.

Visit the website for more details.

  1. bars
  2. arcs
  3. polygons
  4. points
  5. hex bin

Visit the website for the full list of functions

Installation

You can install the globe4r from Github:

# install.packages("remotes")
remotes::install_github("JohnCoene/globe4r")

Example

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()