chart2 = {
const svg = d3.select(DOM.svg(width, height))
.style("width", "60%")
.style("height", "auto")
.style("font", "4.5px sans-serif")
;
svg.append("rect")
.attr("width", "100%")
.attr("height", "100%")
.attr("fill", "powderblue")
;
svg.append("rect")
.attr("width", barwidth)
.attr("height", barheight)
.attr("x", centerx)
.attr("y", centery)
.attr("fill", "white")
.attr("fill-opacity", 0.8)
;
svg.append("rect")
.attr("width", barwidth)
.attr("height", barheight)
.attr("x", centerx)
.attr("y", centery)
.attr("fill", "white")
.attr("fill-opacity", 0.8)
.attr("transform", "scale(-1, 1)")
.attr("transform-origin", "center")
;
svg.append("rect")
.attr("width", 40)
.attr("height", barheight)
.attr("x", centerx)
.attr("y", centery)
.attr("fill", "plum")
;
svg.append("rect")
.attr("width", 40)
.attr("height", barheight)
.attr("x", centerx)
.attr("y", centery)
.attr("fill", "plum")
.attr("transform", "scale(-1, 1)")
.attr("transform-origin", "center")
;
svg.append("rect")
.attr("width", 15)
.attr("height", barheight)
.attr("x", centerx)
.attr("y", centery)
.attr("fill", "black")
;
svg.append("rect")
.attr("width", 15)
.attr("height", barheight)
.attr("x", centerx)
.attr("y", centery)
.attr("fill", "black")
.attr("transform", "scale(-1, 1)")
.attr("transform-origin", "center")
;
svg.append("text")
.style("font", "12px Source Serif Pro")
.attr("x", 10)
.attr("y", 20)
.text("Prototype: 2d section view of 3d form")
;
svg.append("text")
.style("font", "7px Source Serif Pro")
.attr("x", 12)
.attr("y", 30)
.text("visual bootstrap")
;
return svg.node();
}