e_geo | R Documentation |
Initialise geo.
e_geo(e, map = "world", ..., rm_x = TRUE, rm_y = TRUE)
e |
An |
map |
Map type. |
... |
Any other option to pass, check See Also section. |
rm_x, rm_y |
Whether to remove x and y axis, defaults to |
flights <- read.csv(
paste0(
"https://raw.githubusercontent.com/plotly/datasets/",
"master/2011_february_aa_flight_paths.csv"
)
)
flights |>
e_charts() |>
e_geo() |>
e_lines(
start_lon,
start_lat,
end_lon,
end_lat,
name = "flights",
lineStyle = list(normal = list(curveness = 0.3))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.