vl.markCircle()
.data(seattleWeatherTyped)
.title("Seattle Max Temperatures 2012- 2015")
.encode(
vl.x().fieldT('date').timeUnit('month-date'),
vl.y().fieldQ('temp_max'),
vl.color().fieldN('weather')
.scale({
domain: ['sun', 'fog', 'drizzle', 'rain', 'snow'],
range: ["#E7BA52", "#C7C7C7", "#AEC7E8", "#1F77B4", "#9467bd"]}),
vl.size().fieldQ('precipitation').scale({range: [5, 350]}),
vl.column().fieldN('weather')
)
.width(150)
.height(160)
.render()