{
let landguzzlersViz = d3.select(svgContainer)
landguzzlersViz.selectAll("rect")
.data(land_guzzlers)
.join("rect")
.attr("width", d => Math.sqrt(d.footprint) * 1000)
.attr("height", d => Math.sqrt(d.footprint) * 1000)
.attr("x", 0)
.attr("y", d => 1100 - (Math.sqrt(d.footprint) * 1000))
.style("fill", (d,i) => colors[i]);
landguzzlersViz.selectAll(".title")
.data(land_guzzlers)
.join("text")
.attr("x", d => (Math.sqrt(d.footprint) * 1000) - 2.5)
.attr("y", d => 1100 - (Math.sqrt(d.footprint) * 1000) + 26)
.text(d => d.title)
.attr("class", "title");
landguzzlersViz.selectAll(".footprint")
.data(land_guzzlers)
.join("text")
.attr("x", d => (Math.sqrt(d.footprint) * 1000) - 15)
.attr("y", d => 1100 - (Math.sqrt(d.footprint) * 1000) + 33)
.text(d => "Eco-footprint: " + d["footprint"] + " hectares")
.attr("transform", (d,i,nodes) => "rotate(90 " + nodes[i].getAttribute("x") + " " + nodes[i].getAttribute("y") + ")")
.attr("class", "footprint");
landguzzlersViz.selectAll(".subtext1")
.data(land_guzzlers)
.join("text")
.attr("x", d => (Math.sqrt(d.footprint) * 1000) - 27)
.attr("y", d => 1100 - (Math.sqrt(d.footprint) * 1000) + 55)
.text(d => d.subtitle)
.attr("class", "subtext1");
landguzzlersViz.selectAll(".subtext2")
.data(land_guzzlers)
.join("text")
.attr("x", d => (Math.sqrt(d.footprint) * 1000) - 27)
.attr("y", d => 1100 - (Math.sqrt(d.footprint) * 1000) + 70)
.text(d => d.subtitle2)
.attr("class", "subtext1");
landguzzlersViz.selectAll(".subtext3")
.data(land_guzzlers)
.join("text")
.attr("x", d => (Math.sqrt(d.footprint) * 1000) - 27)
.attr("y", d => 1100 - (Math.sqrt(d.footprint) * 1000) + 90)
.text(d => d.subtitle3)
.attr("class", "subtext1");
landguzzlersViz.append("line")
.attr("x1", "640")
.attr("y1", "219")
.attr("x2", "896")
.attr("y2", "219")
landguzzlersViz.append("line")
.attr("x1", "895")
.attr("y1", "218")
.attr("x2", "895")
.attr("y2", "270")
landguzzlersViz.append("line")
.attr("x1", "320")
.attr("y1", "490")
.attr("x2", "620")
.attr("y2", "490")
landguzzlersViz.append("line")
.attr("x1", "620")
.attr("y1", "490")
.attr("x2", "620")
.attr("y2", "530")
}