// Single View Specification{ "data": ... , "mark": "geoshape", "encoding": ... , ...}
Thegeoshape
mark represents an arbitrary shapes whose geometry is determined by specified GeoJSON shape data that isprojected from geographical coordinates to pixels.
Here are an example choropleth making use ofgeoshape
marks:
// Top-level View Specification{ ... "config": { "geoshape": ..., ... }}
Thegeoshape
property of the top-levelconfig
object sets the default properties for all geoshape marks. Ifmark property encoding channels are specified for marks, these config values will be overridden.
For the list of all supported properties, please see themark config documentation.