As a sibling said it tracks snapshots that are taken every time you run a jj command. A pattern I follow is to keep a window open and ‘watch -n 1 jj log’ so that I can see the graph update in real-ish time when I’m navigating or shuffling commits. It also has the benefit of snapshotting any changes once per second. If nothing changed, no snapshot happens. It’s a nice backstop against forgetting to commit some earlier change that was later wiped out.
The jj log graph is very nice visually in the terminal.