vis = {
const svg = d3.select(DOM.svg(width, height));
svg.selectAll('.states')
.data(states.features)
.join('path')
.attr('d', f => path(f))
.attr('stroke', 'grey')
.attr('fill', 'none')
.attr('stroke-width', 1);
svg.selectAll('circle')
.data(cities)
.join('circle')
.attr('cx', d => projection([d.x, d.y])[0])
.attr('cy', d => projection([d.x, d.y])[1])
.attr('fill', 'black')
.attr('r', 6)
.on("mouseover", function(e, d) {
console.log(d.label);
});
return svg.node();
}