viewof flexDisplay = {
const parent = d3.create("div")
.attr("class", "container")
.style("background-color", "#cacaca")
.style("padding", "10px")
.style("margin", "0px")
.style("display", "flex")
.style("flex-direction", "row")
.style("justify-content", "center")
.style("align-items", "center")
.style("flex-wrap", "nowrap");
parent.selectAll("div")
.data(d3.range(1,6))
.join("div")
.attr("class", (d,_) => `item-${d}`)
.text((d,_) => `${d}`)
.style("background-color", "#ff0037")
.style("color", "#fff")
.style("font-size", "35px")
.style("padding", "20px")
.style("margin", "10px")
.style("flex", "1");
parent.select(".item-3")
.style("height", "150px");
parent.select(".item-4")
.style("font-size", "70px")
.style("align-self", "flex-end");
parent.select(".item-1").style("order", "1");
parent.select(".item-2").style("order", "0");
parent.select(".item-3").style("order", "3");
parent.select(".item-4")
.style("order", "2")
.style("flex-grow", "2");
parent.select(".item-5").style("order", "4");
return parent.node();
}