triangle={
const svg=d3.select(DOM.svg(width,h));
let triangle=svg.selectAll("path1")
.data(Triangle)
.enter()
.append("path")
.attr("d",triangleSVG)
.attr("stroke","transparent")
.attr("fill","black")
let polygon=svg.selectAll("path2")
.data(polygonSVG)
.enter()
.append("path")
.attr("d",polygonSVG)
.attr("stroke","white")
.attr("stroke-width",2)
.attr("fill","red")
return svg.node()
}