SelfscribeDownloadOpen the app

Event planner

One list of jobs, seen as a board, a calendar, a timeline, a map and who is in charge, all at once.

Interactive · Advanced · uses board, calendar, timeline, map

Edit it in the playgroundRead the file

What it shows

Show one table of records every way: as a board, a calendar, a timeline, a diagram and a map.

What you learn

A data block drawn as a board, one view line per way of seeing it, a column that picks from another table, a condition that marks rows red, a notation of your own turned into a diagram, a shape repeated from one line, a sketch and a signature.

Try this

  • Give "Find a first-aid team" an owner, and its red goes from the board, the calendar, the timeline and the map.
  • Drag "Licence from the council" to done on the board, and it turns green in every view under it.
examples/regatta-weekend.self · 177 lines
~~~ selfscribe
# Lesson: Show one table of records every way: as a board, a calendar, a timeline, a diagram and a map.
# You learn: a data block drawn as a board, one view line per way of seeing it, a column that picks from another table, a condition that marks rows red, a notation of your own turned into a diagram, a shape repeated from one line, a sketch and a signature.
# Try this: give "Find a first-aid team" an owner, and its red goes from the board, the calendar, the timeline and the map.
# Try this: drag "Licence from the council" to done on the board, and it turns green in every view under it.
# summary: One list of jobs, seen as a board, a calendar, a timeline, a map and who is in charge, all at once.
# category: plans
# tags: interactive, advanced, work, social
# uses: board, calendar, timeline, map
#
# ---- "```data NAME as board by COLUMN", then "view: NAME as …": one table, many views ---
# `use data` brings the Markdown rules plus data blocks and `view:` lines.
use data
set title Event planner
set style sans

# ---- The festival's colours, each with its shade for dark pages --------------------------
palette
  leaf  #2b8a3e  dark #69db7c
  sun   #e8590c  dark #ffa94d

# ---- "on a · b · c" under the title: when, where and how big, cut into chips ------------
line   on _          -> div.ep-facts     split "·" span.ep-chip  { display: flex; flex-wrap: wrap; gap: 0.45em; margin: -0.5em 0 1.6em }  as ep-facts
class ep-chip  { font: 600 0.8em/1 var(--doc-font-ui); padding: 0.55em 0.9em; border-radius: 999px; background: color-mix(in srgb, var(--leaf) 12%, transparent); color: var(--leaf) }
class ep-chip:first-child  { background: var(--sun); color: var(--doc-bg, #fff) }

# ---- "```flow": a diagram written as nodes and arrows ----------------------------------
block  ``` flow ... ```  -> flow  verbatim
# ---- "```sketch": a drawing kept as text; "set mode=signature" makes a line to sign -----
block  ``` sketch ... ```  -> sketch  verbatim

# ---- "```site": a notation of this page's own, rewritten into a flow diagram ------------
# "gate: North gate" names a place in the park, and "gate > food" is a path between two places.
# The "first" line is written before all the others: it draws the site from left to right.
rewrite block ``` site ... ``` -> flow
  line   _1: _2    ->  node _1 "_2"
  line   _1 > _2   ->  _1 -> _2 moving
  first            ->  set direction=LR
~~~
# Park Feast 2026

on Sat 11 – Sun 12 July · Roundhay Park, Leeds · 38 food stalls · 9 bands · 6 people

```data jobs as board by status limit doing 3 columns job, owner, due views board, calendar, gantt, map, flow when owner is empty and status is not done -> red mark
job, status:choice(todo|doing|waiting|done), owner:choice(from crew.name), start:date, due:date, after, lat:number, lng:number
Book the bandstand stage, done, Nadia, 2026-05-04, 2026-05-15, , 53.8386, -1.4991
Book the headline band, done, Grace, 2026-05-04, 2026-05-29, Book the bandstand stage, 53.8389, -1.4997
Sign the food traders, done, Ravi, 2026-05-11, 2026-06-05, , 53.8371, -1.4962
Licence from the council, waiting, Nadia, 2026-05-18, 2026-06-19, , 53.8344, -1.4946
Order compostable cups, waiting, Ravi, 2026-06-08, 2026-06-30, Sign the food traders, 53.8374, -1.4968
Hire toilets and bins, doing, Owen, 2026-06-01, 2026-06-26, , 53.8352, -1.4978
Print the programme, doing, Grace, 2026-06-22, 2026-07-03, Sign the food traders, 53.8377, -1.4951
Find a first-aid team, todo, , 2026-06-22, 2026-07-03, Licence from the council, 53.8360, -1.4940
Fence the family field, todo, Owen, 2026-07-09, 2026-07-10, Hire toilets and bins, 53.8361, -1.5006
Sound check, todo, Grace, 2026-07-10, 2026-07-10, Book the headline band, 53.8383, -1.4985
Brief the volunteers, todo, Jo, 2026-07-10, 2026-07-10, Print the programme, 53.8348, -1.4957
Litter pick, todo, , 2026-07-13, 2026-07-13, , 53.8366, -1.4972
```

## The weeks before

`by start to due` draws each job from its start to its due date.

view: jobs as calendar by start to due

## Who is on what, and when

view: jobs as gantt by start to due group owner

## What waits for what

The `after` column names the job each one waits for, and `link after` draws it as an arrow.
Press **Join**, then two jobs, to say one waits for the other.

view: jobs as flow across link after

## Where each job happens

The `lat` and `lng` columns place each job in the park.

view: jobs as map

## Who answers to whom

Each person names who they report to, and `link manager` draws the chart from the top down.

```data crew
name, manager, role
Nadia, , Festival director
Ravi, Nadia, Food traders
Grace, Nadia, Music and programme
Owen, Nadia, Site and safety
Jo, Owen, Volunteers
Sam, Owen, Stewards
```

view: crew as flow down link manager columns name, role

## How people move through the park

Written in a notation of this page's own: a name, a colon and what the place is called, or two
names with `>` between them for a path.

```site
gate: North gate
food: Food court
stage: Bandstand stage
bar: Cider tent
kids: Family field
gate > food
food > stage
food > bar
stage > kids
```

## Stalls on the food court

One stall is drawn once, and one line places eight of them.

```flow
block stall "Stall {n}" n=1 {
  node van "Trader {n}"
}
node water "Water point" at 0,0
repeat stall as s 4x2 at 0,110 gap 24,24 n={i}
water -> s1
```

## The stage, on a napkin

Press **Draw** and add to it.

```sketch
size 560x220
box 180,20 200x60 "Bandstand" purple
box 230,150 100x40 "Sound desk" blue
line 60,110 500,110 grey 3
text 70,100 "Crowd barrier" grey
arrow 120,200 210,170 green 3
text 40,212 "Way in from the food court" green
note 400,150 "Barrier 12 m\nfrom the stage"
```

## Sign off

I have read the site safety plan and the stewards' brief.

```sketch
set mode=signature
name "Festival director"
```

## How it's made

The jobs are one data block, drawn as a board. Each `view: jobs as …` line under it draws the
same lines again: as a calendar, a timeline, a diagram and a map.

- `owner:choice(from crew.name)` picks each owner from the crew table further down.
- `when owner is empty and status is not done -> red mark` paints every job nobody has taken
  red, in every view.
- `views board, calendar, gantt, map, flow` keeps only those five in the board's bar.
- The rules block turns each line of the fenced block named `site` into a line of a flow
  diagram, so the paths through the park are written in a few words.

## Try it yourself

1. Type `Sam` between the two commas after `Find a first-aid team, todo`. The job moves to
   Sam and stops being red, here and in every view below.
2. Drag "Licence from the council" from waiting to done. It turns green on the calendar, the
   timeline and the map.
3. Change the due date of "Fence the family field" to `2026-07-11`. Its bar on the timeline
   grows by a day.
4. Add `bar > kids` to the site. A second path runs to the family field.
5. Change `4x2` to `4x3` in the stalls. A third row of four is drawn.

Next: *Kanban board* keeps a team's work on a board; *Product roadmap* puts months of work on
a timeline.