map = eurostatmap
.map("ch")
.title("Population density")
.titleFontSize(16)
.subtitle("Generated with eurostat-map.js")
.legend({
title: "Inhabitants / km²",
x: 20,
y: 50,
shapeHeight: 20,
shapeWidth: 30,
sepLineLength: 35
})
.geoCenter([3320000,3570000])
.pixSize(2000)
.zoomExtent(false)
.transitionDuration(1)
.width(700)
.height(600)
.nutsLvl(3)
.build()