layers = [{
data: {
url: topoJsonUrl,
format: {
type: 'topojson',
feature: 'chicago-community-areas'
},
},
projection: {
type: 'mercator',
},
mark: 'geoshape',
encoding: {
stroke: {value: '#333'},
fill: {value: '#ccc'},
tooltip: [
{field: 'properties.community', type: 'nominal', title: 'Community'},
],
},
}]