map = {
const context = DOM.context2d(width, height);
const path = d3.geoPath(projection, context).pointRadius(1);
context.beginPath();
path(outline);
context.fillStyle = "#fff";
context.fillRect(0, 0, width, height);
context.strokeStyle = "white";
geojson.features.forEach((feature, idx) => {
context.beginPath();
context.fillStyle = color(idx);
path(feature);
context.fill();
context.stroke();
});
context.beginPath();
path(outline);
context.strokeStyle = "#ccc";
context.stroke();
yield context.canvas;
}