A geo chart is rendered within the browser using SVG or VML. Note that the map is not scrollable or draggable.
gvisGeoChart(data, locationvar = "", colorvar="",
sizevar="", hovervar="", options = list(), chartid)
data.frame
. The data has to have at least one
column with location name (locationvar
), value to be mapped
to location. The format of the data varies depending on which display mode that
you use: Regions or Markers.data
with the geo locations to be
analysed. The locations can be provide in two formats:
[object Object],[object Object]data
with the optional numeric
column used to assign a color to this marker, based on the scale
specified in the colorAxis.colors
property. If this column is
not present, all markers will be the same codisplayMode='markers'
. Column name of data
with the optional numeric
column used to assign the marker size, relative to the other marker
sizes. If this column is not present, the value from the previous
data
with the additional string
text displayed when the user hovers over this region.