{
const urban_rural1 = vl.markArea({opacity: 0.5})
.data(mortality_data_china)
.encode(
vl.x().fieldT("Year").timeUnit("year").title("2010-2018"),
vl.y().mean("Maternal").stack(null).title("Maternal Mortality Rate"),
vl.color().fieldN("Urban-Rural").scale({scheme: "goldorange"}),
)
const urban_rural2 = vl.markLine({strokeWidth: 3, interpolate: 'monotone'})
.data(mortality_data_china)
.encode(
vl.x().fieldT("Year").timeUnit("year"),
vl.y().fieldQ('Maternal'),
vl.color().fieldN('Urban-Rural').legend(null),
vl.tooltip().fieldN('Urban-Rural')
)
.width(700)
.height(500)
return vl.layer(urban_rural1, urban_rural2).render();
}