{
const width = 280,
height = 180;
const temp_max = vl.markLine()
.data(weather)
.encode(
vl.x().month("date"),
vl.y().average("temp_max"),
vl.color().fieldN("location")
)
.width(width)
.height(height);
const precip = vl.markLine()
.data(weather)
.encode(
vl.x().month("date"),
vl.y().average("precipitation"),
vl.color().fieldN("location")
)
.width(width)
.height(height);
const wind = vl.markLine()
.data(weather)
.encode(
vl.x().month("date"),
vl.y().average("wind"),
vl.color().fieldN("location")
)
.width(width)
.height(height);
return vl.hconcat(temp_max, precip, wind)
.data(weather)
.render()
}