Once Claude has done the analysis, you need to do one of two things with it: explore it, or deliver it. Each has a format that's almost embarrassingly good at the job — and Claude produces both for free.
| HTML explorer | Pandoc PDF | |
|---|---|---|
| For | Thinking. Slicing, filtering, zooming, toggling assumptions. | Delivering. The frozen artifact for the boss, the customer, the design history file. |
| Audience | You and a colleague or two. | People who will print it, sign it, or file it. |
| Interactive | Yes — live charts, sortable tables, sliders. | No — static, paginated, permanent. |
| Dependencies | None. Any browser opens it. | pandoc + one PDF engine (below). |
| Shareable as | One .html file you can email. | One .pdf file you can email. |
The interactive panels on the spend report and decision point problems are HTML explorers — single files, no install, live charts. That's path one. This page mostly exists to set up path two.
This one needs no setup at all, so the entire skill is knowing to ask for it. The magic words are “single self-contained HTML file, no external dependencies” — that tells Claude to inline the data, the styling, and any chart code into one file that works offline, forever, on any machine.
Double-click the result. It opens in your browser. Nothing to install, nothing to host, no build step. When you want a different cut of the data, you ask Claude to change it and re-open the file. This is the fastest data-exploration loop there is, and it costs nothing to run or share.
You write (or Claude writes) the report in Markdown
— plain text with # headings and |
tables. Pandoc is the universal document converter
that turns it into a typeset PDF. Pandoc needs one helper to actually
draw the PDF; we use Typst, a small modern
typesetting engine, because it's tiny, fast, and has readable error
messages.
Two tools to install. Pick your OS:
brew install pandoc typstTerminal (Homebrew)
No Homebrew? Install it first from brew.sh, or download the pandoc and typst installers from their release pages.
winget install --id JohnMacFarlane.Pandoc winget install --id Typst.TypstPowerShell
Close and reopen PowerShell afterward so both land on your PATH.
# Debian/Ubuntu — but check the version (see note) sudo apt install pandoc # Typst: download the release binary, or: cargo install typst-clibash
pandoc is often too old for the
Typst engine (you need pandoc ≥ 3.1). Check with
pandoc -v. If it's older, grab the current .deb
from pandoc's GitHub releases instead of apt.
With a report.md in hand:
pandoc report.md -o report.pdf --pdf-engine=typstTerminal
That's the whole workflow. Edit the Markdown, re-run the command, get an updated PDF. Better still, don't memorize the flags — let Claude write the report and hand you the exact command:
Pandoc + Typst already produces a clean document. A YAML block at the top of the Markdown adds a title page and metadata; a couple of flags add a table of contents and section numbers:
--- title: "Q1 Purchase-Order Spend" author: "Reliability Engineering" date: "2026-04-15" --- # Summary Total spend was **$67,414** across 49 line items...  | Category | Spend | Share | |----------|------:|------:| | Machined Parts | $12,908 | 30% |report.md
pandoc report.md -o report.pdf --pdf-engine=typst --toc --number-sectionsTerminal
.
Have Claude emit the chart as an .svg (crisp at any size)
or a small Python/matplotlib script that writes one. The live,
draggable charts are the HTML path's superpower; the PDF gets a sharp
snapshot.
yihui.org/tinytex) and change the flag
to --pdf-engine=xelatex. Everything else — the
Markdown, the YAML block, the workflow — is identical. Full TeX
Live works too but it's ~4 GB; TinyTeX is a few hundred MB and
installs missing packages on demand.
Both paths run on your own machine, with your own Claude
— same as everything else on this site. The HTML file opens in
your browser; the pandoc command runs in your terminal.
Nothing is uploaded, nothing is hosted, and the artifacts are yours.
Claude can even write a one-line Makefile or shell script
so “rebuild the report” becomes a single command you never
have to think about again.
Both report problems ship a downloadable dataset and end with a “Ship it” section. Generate the data, do the analysis with Claude, then practice both deliveries:
Pandoc: pandoc.org · Typst: typst.app