{
const click = vl.selectSingle().empty('none');
const plot1 = vl.markPoint()
.encode(
vl.x().fieldT('date'),
vl.y().fieldQ('age'),
vl.tooltip(['name', 'age', 'description']),
)
.width(width)
.select(click)
const plot2 = vl.markImage()
.encode(
vl.y().fieldT('date'),
vl.x().fieldQ('age'),
vl.url().fieldN('image'),
)
.width(width)
.transform(vl.filter(click));
return vl.vconcat(plot1, plot2)
.data(data)
.autosize({type: 'fit-x', contains: 'padding'})
.render();
}