map = {
const W = width;
const H = (W * height) / width;
const svg = d3
.select(DOM.svg(W, H))
.style("border", "1px solid #000")
.style("background", "#eee");
const g = svg.append("g");
const g_countries = g.append("g");
const graticules = g
.append("path")
.attr("fill", "none")
.attr("stroke", "rgba(0,0,0,.1)");
let x = 0;
let z = 1;
const projection = d3
.geoConicConformal()
.parallels([40, 68])
.rotate([-10 + x / z / 15, 0])
.center([8 - 10, 53.823])
.scale(width * 1.36 * z)
.translate([W / 2, H / 2]);
const path = d3.geoPath().projection(projection);
const countries = g_countries.selectAll("path").data(areas);
countries
.enter()
.append("path")
.attr('class', 'country')
.attr("fill", "white")
.attr("stroke", "black")
.attr("stroke-linejoin", "round")
.merge(countries)
.attr("d", path);
const tooltip = svg.append("g");
graticules.attr("d", path(d3.geoGraticule().step([20, 20])()));
return svg.node();
}