{
landguzzlers.selectAll(".guzzlerrects")
.data(data)
.join("rect")
.attr("x", basepointX)
.attr("y", d => basepointY - Math.sqrt(d["footprint"]) * 1000)
.attr("width", d => Math.sqrt(d["footprint"]) * 1000)
.attr("height", d => Math.sqrt(d["footprint"]) * 1000)
.style("fill", (d,i) => colors[i])
.attr("class", "guzzlerrects");
landguzzlers.selectAll(".title")
.data(data)
.join("text")
.attr("x", d => Math.sqrt(d["footprint"]) * 1000)
.attr("text-anchor", d => {if(d["title"]!="HAMSTER") {return "end"}})
.attr("y", d=> basepointY - Math.sqrt(d["footprint"]) * 1000 + 28)
.text(d=> d["title"])
.attr("class", "title");
landguzzlers.selectAll(".smalltitle1")
.data(data)
.join("text")
.attr("x", d => Math.sqrt(d["footprint"]) * 1000)
.attr("y", d=> basepointY - Math.sqrt(d["footprint"]) * 1000 + 50)
.text(d=> "Eco-footprint: " + d["footprint"] + " hectares")
.attr("transform", d => {if(d["title"]!="HAMSTER") {return("rotate(90 " + (Math.sqrt(d["footprint"]) * 1000 - 4) + "," + (basepointY - Math.sqrt(d["footprint"]) * 1000 + 32) + ")")}})
.attr("class", "smalltitle1");
landguzzlers.selectAll(".smalltitle2")
.data(data)
.join("text")
.attr("x", d => Math.sqrt(d["footprint"]) * 1000 - 30)
.attr("text-anchor", d => {if(d["title"]!="HAMSTER") {return "end"}})
.attr("y", d=> basepointY - Math.sqrt(d["footprint"]) * 1000 + 53)
.text(d=> d["subtitle"])
.attr("class", "smalltitle2");
landguzzlers.selectAll(".smalltitle3")
.data(data)
.join("text")
.attr("x", d => Math.sqrt(d["footprint"]) * 1000 - 30)
.attr("text-anchor", d => {if(d["title"]!="HAMSTER") {return "end"}})
.attr("y", d=> basepointY - Math.sqrt(d["footprint"]) * 1000 + 73)
.text(d=> d["subtitle2"])
.attr("class", "smalltitle3");
landguzzlers.selectAll(".smalltitle4")
.data(data)
.join("text")
.attr("x", d => Math.sqrt(d["footprint"]) * 1000 - 30)
.attr("text-anchor", d => {if(d["title"]!="HAMSTER") {return "end"}})
.attr("y", d=> basepointY - Math.sqrt(d["footprint"]) * 1000 + 93)
.text(d=> d["subtitle3"])
.attr("class", "smalltitle4");
}