placesOfWorship = {
const svg = DOM.svg(width, height);
const mainGroup = d3.select(svg).append('g');
const defs = d3.select(svg).append('defs');
defs
.append('clipPath')
.attr('id', 'clip-us')
.append('path')
.attr('d', path(us));
mainGroup.attr('clip-path', 'url(#clip-us)');
mainGroup
.selectAll('path')
.data(hex.grid.layout)
.enter()
.append('path')
.attr('d', hex.hexagon())
.attr('transform', d => `translate(${d.x} ${d.y})`)
.style('fill', d =>
!d.pointDensity ? marketColours(0) : marketColours(d.pointDensity)
);
return svg;
}