EstLib.map("ch")
.svgId("populationchange")
.width(width)
.scale("20M")
.NUTSyear(2016)
.nutsLvl(2)
.datasetCode("demo_r_gind3")
.filters({ indic_de: "GROWRT", time: 2018 })
.colorFun(d3.interpolateRdYlBu)
.classifMethod("threshold")
.threshold([-15, -10, -6, -4, -2, 0, 2, 4, 6, 10, 15])
.unitText("")
.tooltipShowFlags(false)
.showLegend(true)
.legend()
.titleText("Population change from 2017 to 2018 (in ‰)")
.legend()
.width(200)
.legend()
.height(410)
.legend()
.labelDecNb(0)
.legend()
.labelDelim("to")
.build()