vl.markLine({tooltip:true})
.data(stats)
.transform(
vl.fold(['female','male']).as(['gender','count'])
)
.encode(
vl.x().fieldO('year'),
vl.y().fieldQ('count'),
vl.column().fieldO("location").title("People in Metro Areas"),
vl.color().fieldN('education_level').title("Education Attainment"),
)
.width(300)
.height(300)
.render()