Back to Blog

Five Charts for an Obsidian Note: Countdown, Clock, Family Tree, Travel Map, Goal

obsidiannotesdiagrams-as-code

Most text-to-diagram tools are built for engineers: sequence diagrams, flowcharts, architecture boxes, gantt charts. Diagrammo draws all of those, and the gallery shows every chart type it has. That is useful in a work vault and not much use in a daily note. But a few chart types fit a personal note well — the kind of note that holds a trip, a friend’s number, or a savings plan.

The charts below follow one trip: the Okafors are going to Japan for Chidi’s 50th birthday. These five are written in DGMO, a small plain-text diagram language, and rendered in Obsidian by the Diagrammo Diagrams community plugin. Each one is a fenced code block, so it lives inside the note, shows up in search, and syncs like any other text. Each chart below shows the source it was drawn from; paste that source into a dgmo block in a note and you get the same chart.

A countdown that ticks inside the note

Countdown to an event that recurs every year on April 15.Chidi's Birthday50th BirthdayThu Apr 15 2027as of Oct 28 2026AugSepOct28NovDecJanFebMarApr15MayJunJul5 months, 18 days
countdown Chidi's Birthday
since 1977-04-15
since-label Nth Birthday
on-day 🎂 Happy birthday, Chidi!

A countdown recomputes every time the note opens and ticks while it is on screen. since takes the first date of something that comes back every year, and the chart always shows the next one. It rolls forward by itself after the day passes, so the note never goes stale, and since-label Nth Birthday counts which birthday it is.

How a countdown changes as the day nears

The picture under the number changes with the distance: a month-by-month bar when the day is months away, real calendars inside three months, and a strip of days in the final week. Which one you see above depends on the day you read this. These three always land in the same picture, because of how far ahead they repeat:

Countdown to an event that recurs every month.Trip Fund DepositSun Nov 1 2026as of Oct 28 2026TUE27WED28TODAYTHU29FRI30SAT31SUN1MON24 days
countdown Trip Fund Deposit
since 2026-01-01
every month
on-day 💴 Deposit day

A monthly repeat is never more than a month away, so it draws calendars with day numbers (in its last week, the strip of days).

Countdown to an event that recurs every week on Tuesday.Japanese ClassTue Nov 3 2026as of Oct 28 2026WED28TODAYTHU29FRI30SAT31SUN1MON2TUE36 days
countdown Japanese Class
since 2026-01-06
every week
on-day 📚 Class tonight

A weekly one is always in its final week, so it draws the strip of days.

Countdown to 2016-04-15.Chidi's Last Trip toJapanFri Apr 15 2016as of Oct 28 20262010s20102011201220132014201520162017201820192020s202020212022202320242025202620272028202910 years, 6 months ago
countdown Chidi's Last Trip to Japan
target 2016-04-15

A date in the past counts up instead (“N years ago”), and anything years away draws one cell per year. Set expired to a message instead if you would rather it stop. The countdown page has every tier.

A clock for the travel agent’s office hours

A clock like this one is less a world clock than a note about one person or office in another timezone: the travel agent booking the trip, or a friend coming along from abroad. Name the zone, label the panel, and set the working week:

World clock of 1 place, Our travel agent.Sakura Travel9am–5pm · Mon–Fri9:29:26amOur travel agentNew York7h 31m leftsunset in 8h 30m
clock Sakura Travel
hours 9am-5pm
days mon-fri
color-by work
America/New_York as Our travel agent

Open the note and it answers “is the office open?” without any time-zone arithmetic: green while it is open, amber in its last hour, grey once it closes. Like the countdown, it is live: it reads your system clock and ticks every second.

A family tree from one line per person

The people going on the trip, as a family chart:

Family tree of 7 people in 2 unions.The Okafor FamilySexMaleFemaleUnknownm. 1972m. 2006Grandpa Emekab. 1948Grandma Adab. 1951Ngozib. 1975Chidib. 1977LauraTobib. 2008Amarab. 2011
family The Okafor Family

Grandpa Emeka b: 1948, sex: m
Grandma Ada b: 1951, sex: f

Grandpa Emeka + Grandma Ada m: 1972
  Ngozi b: 1975, sex: f
  Chidi b: 1977, sex: m

Chidi + Laura m: 2006
  Tobi b: 2008, sex: m
  Amara b: 2011, sex: f

A couple goes on one line with +, and their children are indented below it. That is enough for the note you keep before a wedding or a reunion, where the question is “whose cousin is that?”. The tree also handles remarriage, adoption and generation labels when a genealogy vault needs them.

A map of the route

Map showing 1 marked place, Kyoto · 3 nights in Gion; and a route of 5 legs from Tokyo.bullet trainferry dayflight home21345JapanTokyoHiroshimaFukuokaNorth KoreaSouth KoreaChinaSea ofJapanTrip to Japan
map Trip to Japan

poi Kyoto label: Kyoto · 3 nights in Gion

route Tokyo
  ~bullet train~> Kyoto
  -> Osaka
  -> Hiroshima
  ~ferry day~> Fukuoka
  ~flight home~> Tokyo

A map draws the itinerary. A route line starts the trip, and each indented line is the next stop: ~> draws an arc, -> a straight line, and text inside the arrow labels the leg. The map frames itself around the places you name, with no projection or zoom to set. poi puts a label of your own on a stop.

A goal for the trip fund

Progress toward a target of 6.5K: 4.2K so far, 65%.03.3kTARGET6.5k4.2kJapan Trip Fund ($)65%Add $300 on the 1st of each month.
goal Japan Trip Fund ($)
thermometer
now 4200
target 6500
note Add $300 on the 1st of each month.

The money for the trip, as a goal: change now as you save and the thermometer moves. Leave out thermometer for a progress bar, or write gauge for a dial.

Setting it up

  1. In Obsidian, open Settings → Community plugins → Browse and install Diagrammo Diagrams.
  2. Write a fenced code block with the dgmo language tag:
```dgmo
countdown Chidi's Birthday
since 1977-04-15
since-label Nth Birthday
on-day 🎂 Happy birthday, Chidi!
```

The chart renders in reading mode and live preview, on desktop and mobile. In a PNG or SVG export, the countdown and the clock show the moment they were exported, because an image cannot tick.

All five chart types, with every option, are collected on one docs page: Charts for Your Notes. The Obsidian setup page has the plugin’s settings and commands. The same blocks also work in the online editor if you want to try one before installing anything.