map = {
const div = d3.select(DOM.element('div')).style('width', width + 'px').style('height', height + 'px');
const svg = div.append('svg').style('position', 'absolute').attr('width', '100%').attr('height', '100%');
div.node().insertBefore(basemap.canvas, svg.node());
d3.select(basemap.canvas).style('position', 'absolute');
div.select('svg').selectAll("circle")
.data(data)
.join("circle")
.attr("fill", d => loan_rate(d) > 0.04 ? '#c55147' : '#007697')
.attr('fill-opacity', d => loan_rate(d) > 0.04 ? .8 : .5)
.attr('cx', d => d[1].x)
.attr('cy', d => d[1].y)
.attr("r", d => d[1].households > 1000 ? 70 * loan_rate(d) : null)
return div.node();
}