{
let m = eurostat
.map("chbi")
.titleFontSize(25)
.svgId("foo");
m.stat("v1", { DE: 100, BE: 90 }).stat("v2", { DE: 100, BE: 90 });
m.title("Unemployment and population density")
.subtitle("% unemployed persons aged 20-64 years & inhabitants per km²")
.nutsLvl(0)
.nutsYear(2016)
.clnb(4)
.startColor("white")
.color1("red")
.color2("blue")
.endColor("green")
.scale("10M")
.legend({
boxFill: "none",
squareSize: 100,
labelFontSize: 12,
label1: "Population / km² →",
label2: "← Unemployment ",
x: 20,
y: 160
})
.labelling(true)
.labelsToShow(["cc"])
.labelShadow(["cc"])
.drawGraticule(false)
.seaFillStyle("white")
.cntrgFillStyle("#f2f2f2")
.noDataFillStyle("#bfbfbf")
.drawCoastalMargin(false)
.zoomExtent([1, 2])
.frameStrokeWidth(0)
.geoCenter([4900000, 3500000])
.fontFamily("Source Serif Pro")
.nutsrgSelFillSty("red")
.build();
return m.statData().getArray();
}