eurostatmap
.map("ch")
.svgId("map1")
.nutsLvl(2)
.insets("default")
.classifMethod("threshold")
.threshold([50, 65, 70, 73, 80])
.colors(["#F45C19", "#F37E15", "#F79E0E", "#F9CB80", "#7799D6", "#3E6AB3"])
.stat({
eurostatDatasetCode: "lfst_r_lfe2emprtn",
filters: {
citizen: "TOTAL",
time: "2018",
unit: "PC",
isced11: "TOTAL",
age: "Y20-64"
},
unitText: "% of people aged 20-64 years"
})
.legend({
x: 10,
y: 180,
title: "%",
labelDecNb: 0
})
.title("Employment rate, 2019")
.titleFontSize(20)
.build()