canvas = {
const context = DOM.context2d(width, height)
const londonProjection = d3.geoMercator()
.center([-0.1, 51.49])
.scale(Math.pow(2, 17) / (2 * Math.PI))
.translate([width / 2, height / 2])
const path = d3.geoPath().projection(londonProjection).context(context)
context.lineWidth = 0.5
context.strokeStyle = "#aaa"
context.beginPath()
path(topojson.mesh(london))
context.stroke()
context.strokeStyle = "#000"
context.beginPath()
path(topojson.mesh(london, london.objects.boroughs, (a, b) => a !== b))
path(topojson.feature(london, london.objects.boroughs))
context.stroke()
return context.canvas
}