{
const height = (width * 0.6) | 0;
const context = DOM.context2d(width, height);
const projection = d3.geoIdentity().fitExtent(
[
[2, 2],
[width - 2, height - 2]
],
projectedEurope
);
const path = d3.geoPath().projection(projection).context(context);
context.beginPath();
path(projectedEurope);
context.fillStyle = "#eee";
context.fill();
context.stroke();
return context.canvas;
}