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