map = vl.layer(
vl.markGeoshape({fill: '#FFFFFF'})
.data(vl.sphere()),
vl.markGeoshape({stroke: '#ffffff', strokeWidth: 1})
.data(vl.graticule()),
vl.markGeoshape({stroke: '#706545', strokeWidth: 0.5})
.data(vl.topojson(world).feature('countries'))
.transform(
vl.lookup('id').from(vl.data(storyCounts).key('id').fields('logValue', 'value'))
)
.encode(
vl.color().fieldQ('logValue')
.scale({type: 'linear', domain: [0, dataMax], range: customBatlow}),
vl.tooltip().fieldQ('value')
)
)
.width(850).height(500)
.config({view: {stroke: null}})