map = {
const svg = DOM.svg(w, h)
d3.select(svg)
.selectAll('.hex')
.data(hex.grid.layout)
.enter()
.append('path')
.attr('class', 'hex')
.attr('d', hex.hexagon())
.attr('transform', d => `translate(${d.x}, ${d.y})`)
.style('fill', d => !d.pointDensity ? '#fff' : colourScale(d.pointDensity))
.style('stroke', '#ccc')
return svg;
}