# Recruitment pipeline

> A hiring pipeline for Clearwater Housing Association drawn as a water pipe. Each stage is a segment whose length is its average days, red valves between stages show how many candidates leave, and an owner is named for every stage. Counts, days and owners are all text you can change.

- The design, as a .vd file: https://getv.design/library/recruitment-pipeline.vd
- Its page: https://getv.design/library/recruitment-pipeline

## How it was made

Drafted from this prompt:

> A recruitment pipeline for Clearwater Housing Association: application, screen, first interview, task, final interview, offer, start. Owner and average days for each stage, 38 days to offer in total.

Then refined:

- Added a small count and a drip under each valve to show where candidates drop out.
- Made the pipe thicker and the valves taller so the valves read as the gates.
- Raised the owner and drop-out labels to a larger size so they read on a phone.
- Moved the day bars closer to the pipe and set the total as a bracket across the first six stages.

## Make it yours

- "Change the task stage owner to the hiring manager."
- "Make the application stage take 5 days and update the total."
- "Add a background check stage between final interview and offer."

## The source

```vd
version 12
kind design
title "Recruitment pipeline"
$water = #1B6CA8
$pipe = #7D8590
$valve = #D7263D
$foam = #EEF4F9
$ink = #12283A
$white = #FFFFFF
$u = 34
$vw = 48
$m = 100
$cy = 530
$ph = 170

font head = "Funnel Display"
  fallback "system-ui, sans-serif"
  face asset=funnel-display-700 weight=700
  face asset=funnel-display-800 weight=800

font body = "Funnel Sans"
  fallback "system-ui, sans-serif"
  face asset=funnel-sans-400 weight=400
  face asset=funnel-sans-600 weight=600

asset funnel-display-700 = font/woff2 hash=sha256-ddd29aac511233a9c3423be970846f2366811f51bb342d5885892d0e15c76544 bytes=10648 license=OFL
asset funnel-display-800 = font/woff2 hash=sha256-76d9900b48ce832f407756ef281d22d2873dd23d6340b06df59b6ff5d71612e4 bytes=10552 license=OFL
asset funnel-sans-400 = font/woff2 hash=sha256-eed1093105ea5e041b0cc5aa3897f3d4edb9bf45ae963d20cc85493cc807b4b3 bytes=10612 license=OFL
asset funnel-sans-600 = font/woff2 hash=sha256-eef8f3bf8a9912de1a729c2aa1694545a35394d8d57e9511ea807eb99b5aa6b4 bytes=10764 license=OFL

frame page x=0 y=0 w=1920 h=1080 background=foam
  text title x=$m y=56 w=1700 h=80 font=head size=64 weight=800 lineHeight=1.1 letterSpacing=-1 fill=ink
    "38 days from application to offer, across 34 roles"
  text sub x=$m y=(@title.bottom + 14) w=1700 h=36 font=body size=26 fill=ink
    "Clearwater Housing Association hiring this year. Pipe length is average days in each stage, numbers inside are candidates."

  rect seg.1 x=$m y=($cy - $ph / 2) w=(4 * $u) h=$ph fill=pipe
  rect wat.1 x=(@seg.1.x + 10) y=(@seg.1.y + 10) w=(@seg.1.w - 20) h=(@seg.1.h - 20) fill=water
  text cnt.1 x=@wat.1.x y=@wat.1.y w=@wat.1.w h=@wat.1.h font=head size=40 weight=800 align=center valign=middle fill=white
    "1,870"
  text nm.1 x=@seg.1.x y=(@seg.1.y - 140) w=(@seg.1.w + 40) h=34 font=head size=26 weight=700 fill=ink
    "Application"
  text ow.1 x=@seg.1.x y=(@nm.1.bottom + 2) w=(@seg.1.w + 40) h=30 font=body size=22 weight=600 fill=pipe
    "Talent team"
  instance v1 component=valve x=(@seg.1.right) y=($cy - 135)
  vector dr.1 x=(@v1.cx - 9) y=(@seg.1.bottom + 38) w=18 h=26 view="0 0 20 28" d="M10 0 C10 0 0 13 0 19 A10 10 0 0 0 20 19 C20 13 10 0 10 0 Z" fill=water
  text dn.1 x=(@v1.cx - 85) y=(@dr.1.bottom + 6) w=170 h=34 font=head size=28 weight=700 align=center fill=ink
    "1,458"
  text dw.1 x=@dn.1.x y=(@dn.1.bottom + 0) w=170 h=30 font=body size=22 align=center fill=pipe
    "not shortlisted"
  rect bar.1 x=@seg.1.x y=(@seg.1.bottom + 215) w=@seg.1.w h=14 fill=water radius=7
  text day.1 x=@seg.1.x y=(@bar.1.bottom + 8) w=@seg.1.w h=40 font=head size=32 weight=700 fill=ink
    "4 days"
  rect seg.2 x=(@v1.right) y=($cy - $ph / 2) w=(6 * $u) h=$ph fill=pipe
  rect wat.2 x=(@seg.2.x + 10) y=(@seg.2.y + 10) w=(@seg.2.w - 20) h=(@seg.2.h - 20) fill=water
  text cnt.2 x=@wat.2.x y=@wat.2.y w=@wat.2.w h=@wat.2.h font=head size=40 weight=800 align=center valign=middle fill=white
    "412"
  text nm.2 x=@seg.2.x y=(@seg.2.y - 140) w=(@seg.2.w + 40) h=34 font=head size=26 weight=700 fill=ink
    "Screen"
  text ow.2 x=@seg.2.x y=(@nm.2.bottom + 2) w=(@seg.2.w + 40) h=30 font=body size=22 weight=600 fill=pipe
    "Talent partner"
  instance v2 component=valve x=(@seg.2.right) y=($cy - 135)
  vector dr.2 x=(@v2.cx - 9) y=(@seg.2.bottom + 38) w=18 h=26 view="0 0 20 28" d="M10 0 C10 0 0 13 0 19 A10 10 0 0 0 20 19 C20 13 10 0 10 0 Z" fill=water
  text dn.2 x=(@v2.cx - 85) y=(@dr.2.bottom + 6) w=170 h=34 font=head size=28 weight=700 align=center fill=ink
    "276"
  text dw.2 x=@dn.2.x y=(@dn.2.bottom + 0) w=170 h=30 font=body size=22 align=center fill=pipe
    "not progressed"
  rect bar.2 x=@seg.2.x y=(@seg.2.bottom + 215) w=@seg.2.w h=14 fill=water radius=7
  text day.2 x=@seg.2.x y=(@bar.2.bottom + 8) w=@seg.2.w h=40 font=head size=32 weight=700 fill=ink
    "6 days"
  rect seg.3 x=(@v2.right) y=($cy - $ph / 2) w=(7 * $u) h=$ph fill=pipe
  rect wat.3 x=(@seg.3.x + 10) y=(@seg.3.y + 10) w=(@seg.3.w - 20) h=(@seg.3.h - 20) fill=water
  text cnt.3 x=@wat.3.x y=@wat.3.y w=@wat.3.w h=@wat.3.h font=head size=40 weight=800 align=center valign=middle fill=white
    "136"
  text nm.3 x=@seg.3.x y=(@seg.3.y - 140) w=(@seg.3.w + 40) h=34 font=head size=26 weight=700 fill=ink
    "First interview"
  text ow.3 x=@seg.3.x y=(@nm.3.bottom + 2) w=(@seg.3.w + 40) h=30 font=body size=22 weight=600 fill=pipe
    "Hiring manager"
  instance v3 component=valve x=(@seg.3.right) y=($cy - 135)
  vector dr.3 x=(@v3.cx - 9) y=(@seg.3.bottom + 38) w=18 h=26 view="0 0 20 28" d="M10 0 C10 0 0 13 0 19 A10 10 0 0 0 20 19 C20 13 10 0 10 0 Z" fill=water
  text dn.3 x=(@v3.cx - 85) y=(@dr.3.bottom + 6) w=170 h=34 font=head size=28 weight=700 align=center fill=ink
    "68"
  text dw.3 x=@dn.3.x y=(@dn.3.bottom + 0) w=170 h=30 font=body size=22 align=center fill=pipe
    "not progressed"
  rect bar.3 x=@seg.3.x y=(@seg.3.bottom + 215) w=@seg.3.w h=14 fill=water radius=7
  text day.3 x=@seg.3.x y=(@bar.3.bottom + 8) w=@seg.3.w h=40 font=head size=32 weight=700 fill=ink
    "7 days"
  rect seg.4 x=(@v3.right) y=($cy - $ph / 2) w=(9 * $u) h=$ph fill=pipe
  rect wat.4 x=(@seg.4.x + 10) y=(@seg.4.y + 10) w=(@seg.4.w - 20) h=(@seg.4.h - 20) fill=water
  text cnt.4 x=@wat.4.x y=@wat.4.y w=@wat.4.w h=@wat.4.h font=head size=40 weight=800 align=center valign=middle fill=white
    "68"
  text nm.4 x=@seg.4.x y=(@seg.4.y - 140) w=(@seg.4.w + 40) h=34 font=head size=26 weight=700 fill=ink
    "Task"
  text ow.4 x=@seg.4.x y=(@nm.4.bottom + 2) w=(@seg.4.w + 40) h=30 font=body size=22 weight=600 fill=pipe
    "Team lead"
  instance v4 component=valve x=(@seg.4.right) y=($cy - 135)
  vector dr.4 x=(@v4.cx - 9) y=(@seg.4.bottom + 38) w=18 h=26 view="0 0 20 28" d="M10 0 C10 0 0 13 0 19 A10 10 0 0 0 20 19 C20 13 10 0 10 0 Z" fill=water
  text dn.4 x=(@v4.cx - 85) y=(@dr.4.bottom + 6) w=170 h=34 font=head size=28 weight=700 align=center fill=ink
    "17"
  text dw.4 x=@dn.4.x y=(@dn.4.bottom + 0) w=170 h=30 font=body size=22 align=center fill=pipe
    "not selected"
  rect bar.4 x=@seg.4.x y=(@seg.4.bottom + 215) w=@seg.4.w h=14 fill=water radius=7
  text day.4 x=@seg.4.x y=(@bar.4.bottom + 8) w=@seg.4.w h=40 font=head size=32 weight=700 fill=ink
    "9 days"
  rect seg.5 x=(@v4.right) y=($cy - $ph / 2) w=(8 * $u) h=$ph fill=pipe
  rect wat.5 x=(@seg.5.x + 10) y=(@seg.5.y + 10) w=(@seg.5.w - 20) h=(@seg.5.h - 20) fill=water
  text cnt.5 x=@wat.5.x y=@wat.5.y w=@wat.5.w h=@wat.5.h font=head size=40 weight=800 align=center valign=middle fill=white
    "51"
  text nm.5 x=@seg.5.x y=(@seg.5.y - 140) w=(@seg.5.w + 40) h=34 font=head size=26 weight=700 fill=ink
    "Final interview"
  text ow.5 x=@seg.5.x y=(@nm.5.bottom + 2) w=(@seg.5.w + 40) h=30 font=body size=22 weight=600 fill=pipe
    "Director"
  instance v5 component=valve x=(@seg.5.right) y=($cy - 135)
  vector dr.5 x=(@v5.cx - 9) y=(@seg.5.bottom + 38) w=18 h=26 view="0 0 20 28" d="M10 0 C10 0 0 13 0 19 A10 10 0 0 0 20 19 C20 13 10 0 10 0 Z" fill=water
  text dn.5 x=(@v5.cx - 85) y=(@dr.5.bottom + 6) w=170 h=34 font=head size=28 weight=700 align=center fill=ink
    "11"
  text dw.5 x=@dn.5.x y=(@dn.5.bottom + 0) w=170 h=30 font=body size=22 align=center fill=pipe
    "no offer made"
  rect bar.5 x=@seg.5.x y=(@seg.5.bottom + 215) w=@seg.5.w h=14 fill=water radius=7
  text day.5 x=@seg.5.x y=(@bar.5.bottom + 8) w=@seg.5.w h=40 font=head size=32 weight=700 fill=ink
    "8 days"
  rect seg.6 x=(@v5.right) y=($cy - $ph / 2) w=(4 * $u) h=$ph fill=pipe
  rect wat.6 x=(@seg.6.x + 10) y=(@seg.6.y + 10) w=(@seg.6.w - 20) h=(@seg.6.h - 20) fill=water
  text cnt.6 x=@wat.6.x y=@wat.6.y w=@wat.6.w h=@wat.6.h font=head size=40 weight=800 align=center valign=middle fill=white
    "40"
  text nm.6 x=@seg.6.x y=(@seg.6.y - 140) w=(@seg.6.w + 40) h=34 font=head size=26 weight=700 fill=ink
    "Offer"
  text ow.6 x=@seg.6.x y=(@nm.6.bottom + 2) w=(@seg.6.w + 40) h=30 font=body size=22 weight=600 fill=pipe
    "HR operations"
  instance v6 component=valve x=(@seg.6.right) y=($cy - 135)
  vector dr.6 x=(@v6.cx - 9) y=(@seg.6.bottom + 38) w=18 h=26 view="0 0 20 28" d="M10 0 C10 0 0 13 0 19 A10 10 0 0 0 20 19 C20 13 10 0 10 0 Z" fill=water
  text dn.6 x=(@v6.cx - 85) y=(@dr.6.bottom + 6) w=170 h=34 font=head size=28 weight=700 align=center fill=ink
    "6"
  text dw.6 x=@dn.6.x y=(@dn.6.bottom + 0) w=170 h=30 font=body size=22 align=center fill=pipe
    "declined"
  rect bar.6 x=@seg.6.x y=(@seg.6.bottom + 215) w=@seg.6.w h=14 fill=water radius=7
  text day.6 x=@seg.6.x y=(@bar.6.bottom + 8) w=@seg.6.w h=40 font=head size=32 weight=700 fill=ink
    "4 days"
  rect seg.7 x=(@v6.right) y=($cy - $ph / 2) w=140 h=$ph fill=pipe
  rect wat.7 x=(@seg.7.x + 10) y=(@seg.7.y + 10) w=(@seg.7.w - 10) h=(@seg.7.h - 20) fill=water
  text cnt.7 x=@wat.7.x y=@wat.7.y w=(@wat.7.w) h=@wat.7.h font=head size=40 weight=800 align=center valign=middle fill=white
    "34"
  text nm.7 x=@seg.7.x y=(@seg.7.y - 140) w=180 h=34 font=head size=26 weight=700 fill=ink
    "Start"
  text ow.7 x=@seg.7.x y=(@nm.7.bottom + 2) w=180 h=30 font=body size=22 weight=600 fill=pipe
    "Line manager"
  rect bar.7 x=@seg.7.x y=(@seg.7.bottom + 215) w=@seg.7.w h=14 fill=pipe radius=7
  text day.7 x=@seg.7.x y=(@bar.7.bottom + 8) w=@seg.7.w h=40 font=head size=32 weight=700 fill=ink
    "35 days"
  text day.7n x=@seg.7.x y=(@day.7.bottom) w=@seg.7.w h=30 font=body size=22 fill=pipe
    "notice period"

  connector tot x1=@seg.1.x y1=(@day.1.bottom + 70) x2=@seg.6.right y2=(@day.1.bottom + 70) stroke=ink strokeWidth=3
  connector tot.a x1=@seg.1.x y1=(@day.1.bottom + 60) x2=@seg.1.x y2=(@day.1.bottom + 80) stroke=ink strokeWidth=3
  connector tot.b x1=@seg.6.right y1=(@day.1.bottom + 60) x2=@seg.6.right y2=(@day.1.bottom + 80) stroke=ink strokeWidth=3
  text tot.t x=@seg.1.x y=(@day.1.bottom + 90) w=1000 h=48 font=head size=38 weight=800 fill=ink
    "38 days to offer, then 35 days to start"
  text key x=1000 y=(@day.1.bottom + 98) w=820 h=34 font=body size=24 align=right fill=pipe
    "Red valves are where candidates leave, with the number who did."

frame valve x=0 y=1300 w=48 h=270 background=#00000000 component
  rect valve.h x=2 y=0 w=44 h=14 fill=valve radius=7
  rect valve.s x=20 y=14 w=8 h=26 fill=valve
  rect valve.b x=0 y=38 w=100% h=194 fill=valve radius=6
```
