{
var div = DOM.element('div');
div.appendChild(map)
const g = d3.select(div).select("svg").select("g")
const tractsGroup = g.insert("g", "#county-boundaries").attr("id", "tracts")
tractsGroup.selectAll("path")
.data(tracts.features)
.enter().append("path")
.attr("id", "tracts")
.attr("d", path)
.attr("fill", d => d.properties.quintile !== null ? color[d.properties.quintile] : greys[1])
.append("title")
.text(d => `${d.properties.quintile}`)
tractsGroup.append("path")
.attr("id", "tract-boundaries")
.datum(topojson.mesh(tractsTopoJSON, tractsTopoJSON.objects[topojsonObj], boundaryFilter))
.attr("fill", "none")
.attr("stroke-width", 0.25)
.attr("stroke", greys[0])
.attr("stroke-linejoin", "round")
.attr("d", path);
return div;
}