{
const colors = ["#a5620b", "#c29657", "#cc1f5e", "#a71949", "#f7991d", "#231f20"];
landguzzlers.selectAll(".guzzlerrects")
.data(data)
.join("rect")
.attr("x", 0)
.attr("y", d => 1000 - d["footprint"] * 500)
.attr("width", d => d["footprint"] * 500)
.attr("height", d => d["footprint"] * 500)
.style("fill", (d, i) => colors[i])
.attr("class", "guzzlerrects");
landguzzlers.selectAll(".guzzlertitles")
.data(data)
.join("text")
.attr("x", d => d["footprint"] * 500 - 5)
.attr("y", d => d["footprint"] * 500 + 15)
.attr("class", "guzzlertitles");
landguzzlers.selectAll(".guzzlersubtitle2s")
.data(data)
.join("text")
.attr("x", d => d["footprint"] * 500 - 5)
.attr("y", d => d["footprint"] * 500 + 15)
.attr("class", ".guzzlersubtitle2s");
landguzzlers.selectAll(".guzzlersubtitle3s")
.data(data)
.join("text")
.attr("x", d => d["footprint"] * 500 - 5)
.attr("y", d => d["footprint"] * 500 + 15)
.attr("class", ".guzzlersubtitle3s");
}