{
const context = DOM.context2d(width, height);
const path = d3.geoPath(projection, context).pointRadius(1.75);
for (let i = 0; i < data.length; i++) {
const p = data[i];
context.beginPath();
path({
type: "Point",
coordinates: placekey.placekeyToGeo(p.placekey).reverse()
});
context.fillStyle = color(p["income_less_10k_percentage"]);
context.fill();
if (i % 5000 === 0) yield show();
}
yield show();
function show() {
context.lineWidth = .1;
context.beginPath();
path(chicago);
context.stroke();
return context.canvas;
}
}