# Farm carbon infographic

> A tall farm carbon infographic, 1080 × 2160 px, one page, showing where 410 tonnes of carbon a year come from on a 180 cow dairy farm in Shropshire. Each source of emissions is a soil layer whose thickness comes from one token and its tonnes, so you change the layers and the three changes in place.

- The design, as a .vd file: https://getv.design/library/farm-carbon-infographic.vd
- Its page: https://getv.design/library/farm-carbon-infographic

## How it was made

Drafted from this prompt:

> An infographic from Greenfold Dairy: where 410 tonnes of carbon a year come from on a 180 cow farm, by feed, cows, manure, fuel and power, and three things changed this year.

Then refined:

- Shortened the closing lines and reduced the height of the three change rows, because the first render ran past the bottom of the page.
- Moved the roots and pebbles out of the way of the layer labels.
- Reworded the heading of the second half so the three numbers read as savings.

## Make it yours

- "Make a carbon footprint infographic for my farm with different sources."
- "Add last year's total to the carbon emissions infographic for comparison."
- "Change the layers to match my own farm's figures."

## The source

```vd
version 12
kind design
title "Farm carbon infographic"
$m = 60
$hay = #E9D8A6
$green = #4F772D
$soil = #5B4636
$sky = #90C2E7
$cream = #FAF6EC
$deep = #3A2E24
$k = 1.4

font display = Eczar
  fallback "serif"
  face asset=eczar-700 weight=700
  face asset=eczar-800 weight=800

font body = Tajawal
  fallback "system-ui, sans-serif"
  face asset=tajawal-400 weight=400
  face asset=tajawal-700 weight=700

asset eczar-700 = font/woff2 hash=sha256-9088211206fe5ab690b5ad620353f1f57ef837146c2d0dcaec3661906f950855 bytes=15568 license=OFL
asset eczar-800 = font/woff2 hash=sha256-544cd4cdadd028a6a0134faac79e6020a493efaf31f13292c1a32f77429d3bc8 bytes=15392 license=OFL
asset tajawal-400 = font/woff2 hash=sha256-b081f7bf790678b56a2c0502651d6873cbabc09e78fe40655df15f918b1e369b bytes=10256 license=OFL
asset tajawal-700 = font/woff2 hash=sha256-de8f431c146ab1feb612cb7ced0842ae5c4e2f12067d13db0badeca73977200b bytes=9996 license=OFL

frame farm x=0 y=0 w=1080 h=2160 background=hay
  rect farm.sky x=0 y=0 w=(100%) h=660 fill=sky
  text farm.title x=$m y=64 w=(100% - $m * 2) h=290 font=display size=88 weight=800 lineHeight=1.04 fill=deep
    "Where a dairy farm's 410 tonnes of carbon come from"
  text farm.intro x=$m y=(@farm.title.bottom + 12) w=700 h=96 font=body size=32 lineHeight=1.3 fill=deep
    "Greenfold Dairy, 180 cows in Shropshire, measured its carbon for the first time."
  rect barn.body x=(100% - 400) y=470 w=220 h=190 fill=soil
  vector barn.roof x=(@barn.body.x - 20) y=(@barn.body.y - 90) w=260 h=92 view="0 0 260 92" d="M0 92 L130 0 L260 92 Z" fill=deep
  rect barn.door x=(@barn.body.x + 70) y=(@barn.body.y + 70) w=80 h=120 fill=hay
  instance cow.a component=cow x=$m y=548
  instance cow.b component=cow x=(@cow.a.right + 40) y=560
  vector farm.grass x=0 y=640 w=(100%) h=70 view="0 0 1080 70" d="M0 20 C90 0 180 40 270 20 S450 0 540 20 S720 40 810 20 S990 0 1080 20 V70 H0 Z" fill=green
  text farm.hint x=$m y=672 w=(100% - $m * 2) h=36 font=body size=28 fill=cream
    "Each layer is as thick as its share of the year's tonnes."
  rect soil.feed x=0 y=710 w=(100%) h=(150 * $k) fill=#5B4636
  rect soil.cows x=0 y=(prev.bottom) w=(100%) h=(120 * $k) fill=#664E3C
  rect soil.manure x=0 y=(prev.bottom) w=(100%) h=(65 * $k) fill=#715743
  rect soil.fuel x=0 y=(prev.bottom) w=(100%) h=(45 * $k) fill=#7B5F49
  rect soil.power x=0 y=(prev.bottom) w=(100%) h=(30 * $k) fill=#86684F
  vector soil.roots x=8 y=700 w=300 h=230 view="0 0 300 230" d="M20 0 C24 60 10 110 22 200 M20 90 L4 130 M270 0 C262 50 282 100 268 170 M270 80 L292 120" fill=none stroke=hay strokeWidth=3 cap=round opacity=0.3
  ellipse soil.p1 x=860 y=752 w=34 h=22 fill=hay opacity=0.22
  ellipse soil.p2 x=180 y=(@soil.cows.y + 118) w=26 h=18 fill=hay opacity=0.22
  ellipse soil.p3 x=316 y=(@soil.cows.y + 20) w=40 h=24 fill=hay opacity=0.22
  ellipse soil.p4 x=600 y=(@soil.manure.y + 30) w=22 h=14 fill=hay opacity=0.22
  text feed.n x=$m y=@soil.feed.y w=300 h=@soil.feed.h font=display size=120 weight=800 lineHeight=1 valign=middle fill=cream
    "150 t"
  text feed.name x=380 y=@soil.feed.y w=500 h=@soil.feed.h font=body size=36 lineHeight=1.25 valign=middle fill=cream
    para
      "Feed" weight=700
    para
      "Growing, buying and hauling in grain, soya and silage." size=28
  text feed.pc x=(100% - $m - 120) y=@soil.feed.y w=120 h=@soil.feed.h font=body size=34 weight=700 align=right valign=middle fill=cream
    "37%"
  text cows.n x=$m y=@soil.cows.y w=300 h=@soil.cows.h font=display size=100 weight=800 lineHeight=1 valign=middle fill=cream
    "120 t"
  text cows.name x=380 y=@soil.cows.y w=500 h=@soil.cows.h font=body size=36 lineHeight=1.25 valign=middle fill=cream
    para
      "Cows" weight=700
    para
      "Methane from digestion, mostly in their burps." size=28
  text cows.pc x=(100% - $m - 120) y=@soil.cows.y w=120 h=@soil.cows.h font=body size=34 weight=700 align=right valign=middle fill=cream
    "29%"
  text manure.n x=$m y=@soil.manure.y w=300 h=@soil.manure.h font=display size=66 weight=800 lineHeight=1 valign=middle fill=cream
    "65 t"
  text manure.name x=380 y=@soil.manure.y w=500 h=@soil.manure.h font=body size=32 lineHeight=1.2 valign=middle fill=cream
    para
      "Manure and slurry" weight=700
    para
      "Kept in the store, then spread." size=26
  text manure.pc x=(100% - $m - 120) y=@soil.manure.y w=120 h=@soil.manure.h font=body size=34 weight=700 align=right valign=middle fill=cream
    "16%"
  text fuel.n x=$m y=@soil.fuel.y w=300 h=@soil.fuel.h font=display size=46 weight=800 lineHeight=1 valign=middle fill=cream
    "45 t"
  text fuel.name x=380 y=@soil.fuel.y w=560 h=@soil.fuel.h font=body size=28 valign=middle fill=cream
    "Fuel. " weight=700
    "Diesel for tractors and the feed wagon."
  text fuel.pc x=(100% - $m - 120) y=@soil.fuel.y w=120 h=@soil.fuel.h font=body size=30 weight=700 align=right valign=middle fill=cream
    "11%"
  text power.n x=$m y=@soil.power.y w=300 h=@soil.power.h font=display size=34 weight=800 lineHeight=1 valign=middle fill=cream
    "30 t"
  text power.name x=380 y=@soil.power.y w=560 h=@soil.power.h font=body size=26 valign=middle fill=cream
    "Power. " weight=700
    "Milking parlour pumps and milk cooler."
  text power.pc x=(100% - $m - 120) y=@soil.power.y w=120 h=@soil.power.h font=body size=28 weight=700 align=right valign=middle fill=cream
    "7%"
  text change.title x=$m y=(@soil.power.bottom + 64) w=(100% - $m * 2) h=80 font=display size=64 weight=800 lineHeight=1.1 fill=deep
    "Three changes save 40 tonnes"
  instance change.a component=change x=0 y=(@change.title.bottom + 24)
    override change.n
      "20 t"
    override change.head
      "Clover in the grass fields"
    override change.text
      "Clover makes its own nitrogen, so we spread less fertiliser and buy in less protein feed."
  instance change.b component=change x=0 y=(@change.a.bottom + 0)
    override change.n
      "12 t"
    override change.head
      "A cover on the slurry store"
    override change.text
      "Less methane escapes while the slurry waits to be spread."
  instance change.c component=change x=0 y=(@change.b.bottom + 0)
    override change.n
      "8 t"
    override change.head
      "Solar panels on the parlour roof"
    override change.text
      "The milking parlour and milk cooler now run on the farm's own power in daylight."
  rect total.rule x=$m y=(@change.c.bottom + 24) w=(100% - $m * 2) h=4 fill=soil
  text total.text x=$m y=(@total.rule.bottom + 28) w=(100% - $m * 2) h=60 font=display size=44 weight=700 lineHeight=1.2 fill=deep
    "A 10% cut on the 410 tonnes, from next year."
  text total.note x=$m y=(@total.text.bottom + 16) w=(100% - $m * 2) h=70 font=body size=24 lineHeight=1.3 fill=soil
    "Greenfold Dairy, Shropshire. Tonnes of carbon dioxide equivalent for one full year. Savings are what we expect each year."

frame cow x=0 y=2300 w=150 h=100 component
  rect cow.leg1 x=22 y=70 w=12 h=30 fill=deep
  rect cow.leg2 x=104 y=70 w=12 h=30 fill=deep
  rect cow.body x=10 y=26 w=116 h=56 fill=cream radius=26
  ellipse cow.patch1 x=36 y=32 w=34 h=26 fill=soil
  ellipse cow.patch2 x=88 y=48 w=26 h=22 fill=soil
  rect cow.head x=112 y=22 w=34 h=34 fill=cream radius=12
  rect cow.snout x=130 y=40 w=18 h=16 fill=#E8B4A8 radius=6
  ellipse cow.eye x=124 y=32 w=6 h=6 fill=deep

frame change x=0 y=2500 w=1080 h=150 component
  text change.n x=$m y=0 w=300 h=150 font=display size=96 weight=800 lineHeight=1 valign=middle fill=green
    "0 t"
  text change.head x=380 y=14 w=640 h=44 font=body size=34 weight=700 lineHeight=1.2 fill=deep
    "Heading"
  text change.text x=380 y=(@change.head.bottom + 4) w=640 h=100 font=body size=28 lineHeight=1.3 fill=deep
    "Text"
```
