vl.markCircle({opacity: 0.6, tooltip: true})
.data(seattleWeatherTyped)
.title("Relationship Between Wind and Max Temperatures in Seattle 2012 - 2015")
.encode(
vl.x().fieldQ('wind'),
vl.y().fieldQ('precipitation'),
vl.color().fieldN('weather'),
vl.tooltip([
{field : "date", type : "temporal"},
{field : "temp_max", title : "max temp" },
{field : "temp_min", title : "min temp" },
{field : "precipitation"},
{field : "wind"},
{field : "weather"},
])
).render();