e_globe family is similar to
Note: As the package became too large (borderline
for CRAN), assets have been moved to another package:
echarts4r.assets. This also allows the introduction of more
Visit the website for more examples.
library(echarts4r.assets) airports <- read.csv( paste0("https://raw.githubusercontent.com/plotly/datasets/", "master/2011_february_us_airport_traffic.csv") ) airports |> e_charts(long) |> e_globe( environment = ea_asset("starfield"), base_texture = ea_asset("world"), globeOuterRadius = 100 ) |> e_scatter_3d(lat, cnt, coord_system = "globe", blendMode = 'lighter') |> e_visual_map(inRange = list(symbolSize = c(1, 10)))