powered by
Setup a datamaps chart.
datamaps(data, scope = "world", default = "#ABDDA4", projection = "equirectangular", responsive = TRUE, width = "100%", height = "100%", elementId = NULL)
data.frame.
map scope.
default color for missing values.
map projection.
whether for map to be responsive.
Must be a valid CSS unit (like '100%', '400px', 'auto') or a number, which will be coerced to a string and have 'px' appended.
'100%'
'400px'
'auto'
'px'
DOM id.
# NOT RUN { datamaps(projection = "orthographic") %>% add_graticule() # }
Run the code above in your browser using DataLab