choropleth: Choropleth

View source: R/choropleth.R

choroplethR Documentation

Choropleth

Description

Usage

choropleth(
  map_id,
  data,
  polygon_json = nivoR::world_countries_json,
  projectionType = c("azimuthalEqualArea", "azimuthalEquidistant", "gnomonic",
    "orthographic", "stereographic", "equalEarth", "equirectangular", "mercator",
    "transverseMercator", "naturalEarth1"),
  projectionScale = 200,
  projectionTranslation_x = 0.5,
  projectionTranslation_y = 0.5,
  rotate_x = 0,
  rotate_y = 0,
  rotate_z = 0,
  domainMin = 0,
  domainMax = 1e+06,
  border_width = 0.5,
  border_Color = "#989627",
  width = NULL,
  height = "400px",
  margin_top = 0,
  margin_left = 0,
  margin_right = 0,
  margin_bottom = 0,
  unknownColor = "#666666",
  tooltipText,
  polygonColors = "#9b0034",
  pausePlayBTNcolor = "black",
  elementId = NULL,
  ...
)

AKostiv8/nivoR documentation built on May 15, 2023, 4:33 a.m.