Public
Edited
Mar 20, 2024
Insert cell
Insert cell
Insert cell
<svg width="1100" height="1100">
<style>
rect {stroke: white; stroke-width: 3px;}
text {fill: white; font-family: 'Rajdhani', sans-serif;}
.maintitle {font-size: 39px; fill: black;}
.mainsubtitle {font-size: 20px; fill: black;}
.title {text-anchor: end; font-size: 32px;}
.subtext {}
.footprint {font-size: 17px;}
line {stroke: white; stroke-width: 1px;}
</style>

<!-- title and subtitle text -->
<text x="0" y="25" class="maintitle">Land Guzzlers</text>
<text x="0" y="45" class="mainsubtitle">The ecological footprints of our pets can make SUVs look positively eco-friendly</text>

<!-- large dog -->
<rect x="0" y="51.2" width="1048.8" height="1048.8" fill="#a5620b"></rect>
<text x="1043.8" y="81.2" class="title">LARGE DOG</text>
<text x="1028.8" y="86.2" class="footprint" transform="rotate(90 1028.8,86.2)">Eco-footprint: 1.1 hectares</text>

<!-- medium dog -->
<rect x="0" y="185.2" width="914.32" height="914.32" fill="#c29657"></rect>
<text x="910" y="212" class="title">MEDIUM-SIZED DOG</text>
<text x="1161" y="218" class="footprint" transform="rotate(90 1028.8,86.2)">Eco-footprint: 0.84 hectares</text>
<line x1="590.7" y1="218" x2="891" y2="218"></line>
<line x1="891" y1="218" x2="891" y2="288"></line>
<text x="714" y="240" class="footprint">CONSUMPTION PER YEAR</text>
<text x="674.5" y="260" class="footprint">164kg of meat, 95kg of cereals</text>
<text x="233.5" y="280" class="footprint">43.3m^2 of land per 1kg of chicken (more for beef and lamb), 13.4m^2 of land per 1kg of cereals</text>

<!-- toyota -->
<rect x="0" y="459" width="640.54" height="640.54" fill="#cc1f53"></rect>
<text x="635.5" y="489.5" class="title">TOYOTA LANDCRUISER</text>
<text x="1437.5" y="493.5" class="footprint" transform="rotate(90 1028.8,86.2)">Eco-footprint: 0.41 hectares</text>
<line x1="314.5" y1="497" x2="615" y2="497"></line>
<line x1="615" y1="497" x2="615" y2="550"></line>
<text x="420" y="515" class="footprint">10,000km DRIVEN PER YEAR</text>
<text x="180" y="535" class="footprint">55.1 gigajoules (includes energy required to fuel and construct)</text>

<!-- vw golf -->
<rect x="0" y="675.7" width="423.43" height="423.43" fill="#a71949"></rect>
<text x="416" y="705" class="title">VOLKSWAGEN GOLF</text>

<!-- cat -->
<rect x="0" y="712.5" width="386.78" height="386.78" fill="#f7991d"></rect>
<text x="381.5" y="740.5" class="title">CAT</text>
<text x="367.3" y="747.7" class="footprint" transform="rotate(90 367.3, 747.7)">Eco-footprint: 0.15 hectares</text>

<!-- hamster -->
<rect x="0" y="980.5" width="118.32" height="118.32" fill="#231f20"></rect>
<text x="244.5" y="1006.5" class="title">HAMSTER</text>
<text x="125" y="1025" class="footprint">Eco-footprint:</text>
<text x="125" y="1045" class="footprint">0.014 hectares</text>
</svg>
Insert cell
### describe some of your calculations:
How did I calculate that first object's numbers? What is the equation given 1.1 hectares, the first data value? How do you use that to calculate the rest?

Write out some explanation, thoughts, or rough equations here. This can be notes, questions, discussion.

The size of the Large Dog square is 1048.8*1048.8 = 1099981.44. Each other square will be measured relative to the Large Dog square. The ratio of sizes between the two squares is a division of their hectare footprint (e.g. the medium dog square should take up 0.76 of the area that the large dog square takes up). That means the medium dog square takes up an area of 835985.8944. This can be decomposed via the square root to find that the width and height of the medium dog square should be 914.32.

width, height = sqrt(hectares/1.1 * 1099981.44)
Insert cell
Insert cell
Insert cell
colors = ["#a5620b","#c29657","#cc1f5e","#a71949","#f7991d","#231f20"]; // colors for the rectangles, in order Large Dog to Hamster
Insert cell
land_guzzlers.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more