sameStats={
const container = d3.select(DOM.svg(width+margin.left+margin.right, height+margin.top+margin.bottom));
const svg = container.append('g')
.attr('width', width)
.attr('height', height)
.attr('transform', 'translate(' + margin.left + '.' + margin.top + ')');
svg.append("g")
.call(xAx);
svg.append("g")
.call(yAx);
svg.append("g")
.attr("stroke", "#000")
.attr("stroke-opacity", 0.2)
.selectAll("circle")
.data(data.filter(a => a.name === selectData)[0].data)
.enter().append("circle").transition()
.duration(900)
.attr("cx", (d,i) => xScale(d.x))
.attr("cy", (d,i) => yScale(d.y))
.attr("fill", (d,i) => col(d.y))
.attr("r", 3.5);
return container.node();
}