e_geo_3d | R Documentation |
Initialise geo 3D.
e_geo_3d(e, serie, color, type = "world", rm_x = TRUE, rm_y = TRUE, ...)
e_geo_3d_(
e,
serie = NULL,
color = NULL,
type = "world",
rm_x = TRUE,
rm_y = TRUE,
...
)
e |
An |
serie |
Column name of serie to plot. |
color |
Color. |
type |
Map type. |
rm_x, rm_y |
Whether to remove x and y axis, defaults to |
... |
Any other option to pass, check See Also section. |
e_country_names
,
Additional arguments
choropleth <- data.frame(
countries = c(
"France",
"Brazil",
"China",
"Russia",
"Canada",
"India",
"United States",
"Argentina",
"Australia"
),
height = runif(9, 1, 5),
color = c(
"#F7FBFF",
"#DEEBF7",
"#C6DBEF",
"#9ECAE1",
"#6BAED6",
"#4292C6",
"#2171B5",
"#08519C",
"#08306B"
)
)
choropleth |>
e_charts(countries) |>
e_geo_3d(height, color)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.