A reproduction of a Sol LeWitt art piece
This is the first clue
const w3 = "http://www.w3.org/2000/svg"
const svg = document.createElementNS(w3, "svg")
svg.setAttribute("width", 960)
svg.setAttribute("height", 500)
document.body.appendChild(svg)
Then having a home grown go at a for loop.
const barWidth = 20
for (let i = 1; i <= 22; i++) {
const newRect = document.createElementNS(w3, "rect")
newRect.setAttribute("x", (i * 2 * barWidth))
newRect.setAttribute("width", barWidth)
newRect.setAttribute("height", "100%")
newRect.setAttribute("fill", "black")
svg.appendChild(newRect)
}