{
const tempChart= vl.markCircle()
.data(Weather)
.encode(
vl.x().fieldQ("temp_max"),
vl.y().fieldQ("wind"),
vl.color().fieldN("weather").scale({scheme: 'tableau10'})
)
const precipitationChart = vl.markCircle()
.data(Weather)
.encode(
vl.x().fieldQ("precipitation"),
vl.y().fieldQ("wind"),
vl.color().fieldN("weather").scale({scheme: 'accent'})
)
return(
vl.vconcat(tempChart, precipitationChart)
.resolve({"scale": {"color": "independent"}})
.render()
)
}