{
const width = 600;
const height = 600;
const g = d3
.select("svg#viz")
.selectAll("g")
.data([1])
.join("g")
.attr("transform", `translate(${width / 2}, ${height / 2})`);
const gRects = g
.selectAll("g.rect")
.data(numbers)
.join("g")
.classed("rect", true)
.attr("transform", (d, i) => `rotate(${-72 * i})`);
gRects
.append("rect")
.attr("x", -180)
.attr("y", 20)
.attr("width", 280)
.attr("height", 50)
.attr("fill", (d) => d)
.attr("opacity", 1);
}