
datum
io.github.aqentra-ai/datum
Data-driven PowerPoint charts (waterfall, Mekko, Gantt, ...) linked to Excel, edited by agents.
Documentation
DATUM
Open-source, data-driven charts for PowerPoint. Stacked and clustered columns, horizontal bars, waterfalls, line and area charts, pies, Mekko and Gantt, drawn as native, editable PowerPoint shapes. Data stays linked to Excel. Branding comes from one theme file. AI agents can edit every chart as plain JSON.
![]()
- No code needed: a DATUM tab in PowerPoint and Excel, numbers pasted from Excel, and a click on any part of a chart to change it. See the user guide.
- Excel ↔ PowerPoint, live: charts follow their own block of Excel cells as you type, or the saved workbook when Excel is closed, so one sheet can feed many charts (named ranges survive inserted rows). Copy chart in Excel and Ctrl+V in PowerPoint, Edit in Excel from PowerPoint, and per-chart automatic or on-request updates. Linked cells get a frame that shows the title, category, series and value cells; drag it to change the cells, delete it to unlink.
- Updates in place: only the shapes that change are touched, keeping the chart's size, position and stacking order; the rest of the slide is untouched.
- Everything you format daily: titles, subtitles and source notes; number formats (k/m/bn, decimals, prefix/suffix, negatives in parentheses); each axis part on or off with fixed min/max, log scales, axis breaks and a secondary axis; legends anywhere, in rows or columns, or series named beside them; per-bar colours; single totals and labels deleted; CAGR, difference and step arrows and target lines; your own default design per chart type.
- Native output: charts are grouped PowerPoint shapes, so they look right everywhere, even without DATUM installed.
- Corporate themes: fonts, palette and number format live in one JSON file. Change it and every chart follows.
- Agent-native: the chart spec is plain JSON stored inside the deck. Agents edit it with the
datumCLI or the built-in MCP server, locally: data (written back to linked Excel cells), styles, themes and default designs, checking their work as a picture. Microsoft 365 Copilot uses the same actions through a Copilot agent (preview). - Simple: one-line install per user, no admin rights. One add-in, one CLI and two runtime dependencies. No cloud service, account or telemetry: the helper that links Excel and PowerPoint runs on your own computer.
See it work
Both recorded live in PowerPoint and Excel.
Type in Excel, the chart in PowerPoint follows.

Ask your agent, it edits the chart through DATUM's MCP server.

Every chart type consultants use, as native PowerPoint shapes (exported from PowerPoint):

How it works
┌───────── DATUM in PowerPoint ──────────┐ ┌──── DATUM in Excel ────┐
│ gallery · datasheet · format · theme │ │ selection → chart │
│ draws charts as native shapes │ │ sends linked cells │
└───────────────────┬────────────────────┘ └───────────┬────────────┘
└─ DATUM Desktop (https://localhost) ──┘
serves the pane · relays live cells as you type
watches saved workbooks · Copy chart (Ctrl+V)
Excel / CSV ──► chart spec (JSON) ──► layout engine ──► native shapes in the .pptx
theme.json ──► theme (JSON) ──┘ ▲
│
datum CLI · MCP server (Copilot, Claude, …): same engine, local files
Each chart is a group of shapes on the slide. Its spec is stored in a PowerPoint tag on that group, so it survives copy, move and resize. The same TypeScript engine renders charts in the add-in, the CLI and the MCP server.
Office add-ins run in separate, sandboxed web views: they can't talk to each other or open files by path. DATUM keeps the web add-in (so it also runs on Mac and the web) and adds DATUM Desktop, a small local helper installed per user (no admin rights). It serves the pane over https://localhost, passes linked cells from Excel to PowerPoint as you type, and watches linked workbooks on disk (including OneDrive and SharePoint folders synced to the computer).
Quick start
In PowerPoint and Excel (Microsoft 365 on Windows or Mac)
Install DATUM Desktop for your user account (no admin rights):
| Windows (PowerShell) | irm https://datum.aqentra.ai/install.ps1 | iex |
| Mac (Terminal) | curl -fsSL https://datum.aqentra.ai/install.sh | bash |
Or download datum-desktop.zip, unzip it and run install.cmd (Windows) or bash install.sh (Mac). The installer:
- copies DATUM and a private Node.js (checked against nodejs.org's SHA-256 list) to
%LOCALAPPDATA%\DATUMor~/Library/Application Support/DATUM; - creates a certificate for
https://localhostand asks you to trust it (one confirmation dialog); - adds the DATUM add-in to PowerPoint and Excel, and starts DATUM Desktop now and at every sign-in.
The installer ends with a checklist (lines marked FIX say what to do). Restart PowerPoint and Excel, then use the DATUM tab (if it isn't there yet: Home › Add-ins › Developer Add-ins › DATUM, once). New chart puts a chart on the slide; type or paste your numbers and it follows. The user guide walks through everything, including the Excel link. To remove DATUM, run uninstall.cmd or uninstall.sh in the same folder.
PowerPoint on the web, or deployed by IT: the install page (datum.aqentra.ai) also offers the add-in file on its own. Upload it under Home › Add-ins › More add-ins › My add-ins › Upload my add-in, or deploy it to everyone in the Microsoft 365 admin center › Settings › Integrated apps. Without DATUM Desktop, linked charts update on Update after saving the workbook, instead of live.
You can also try the pane without installing anything: open taskpane.html from the install page in any browser (it downloads a .pptx).
Requires PowerPointApi 1.8 (Microsoft 365 version 2504+ on Windows, 16.96+ on Mac, or Office for the web); the Excel side needs ExcelApi 1.4 (live updates use 1.9).
From the command line (Node.js 20+)
npx @aqentra/datum new deck.pptx --theme themes/default.json
npx @aqentra/datum import sales.xlsx --type bar --variant stacked --range A1:F4 --link deck.pptx > chart.json
npx @aqentra/datum set deck.pptx chart.json --title "Revenue by segment"
# later, after the Excel file changed:
npx @aqentra/datum refresh deck.pptx
# the other way round: hand a chart's data to Excel (linked through a named range)
npx @aqentra/datum export-data deck.pptx <chart-id> -o data/revenue.xlsx
Run npx @aqentra/datum --help for all commands. Close the deck in PowerPoint before the CLI writes to it.
With AI agents
DATUM runs as a local MCP server: the agent starts it on your machine, and nothing is hosted. The DATUM Desktop installer adds it to VS Code (GitHub Copilot) and Claude Desktop by itself. With DATUM Desktop running, agents work on the presentation open in PowerPoint: they list charts, read and change the selected one ("this chart"), insert charts and take the user to them, and the slide changes at once. Without deck, tools use the open presentation; with a path, they change the file.
To add it by hand:
// VS Code / GitHub Copilot: .vscode/mcp.json
{ "servers": { "datum": { "type": "stdio", "command": "npx", "args": ["-y", "@aqentra/datum", "mcp"] } } }
// Claude Code / Claude Desktop: .mcp.json
{ "mcpServers": { "datum": { "command": "npx", "args": ["-y", "@aqentra/datum", "mcp"] } } }
You can also skip MCP: agents can call the CLI, or edit one JSON file (datum export deck.pptx -o deck.json, edit, then datum apply deck.pptx deck.json). See AGENTS.md.
Microsoft 365 Copilot (preview): DATUM Desktop serves a Copilot agent package at https://localhost:32886/copilot.zip (unified manifest, declarative agent and Office add-in actions that the DATUM pane carries out). Upload it as a custom app in a Microsoft 365 tenant with Copilot; see the user guide.
Chart spec
{
"type": "waterfall",
"categories": ["EBIT 2024", "Price", "Volume", "Costs", "EBIT 2025"],
"series": [{ "name": "EBIT", "values": [120, 18, 9, -15, "="] }],
"labels": { "suffix": "m" }
}
| Type | Variants | Notes |
|---|---|---|
bar | clustered, stacked, percent | "orientation": "horizontal" for bars; a series with "type": "line" makes a combination chart; totals, CAGR and difference arrows, value lines |
waterfall | First value is the start, "=" draws a (sub)total | |
line | Gaps for null, optional markers | |
area | stacked, percent | |
pie | pie, doughnut | One series; shares in %, total in the doughnut centre |
mekko | percent, stacked | Widths from column totals, or widths for unit Mekko |
gantt | tasks with ISO dates; no end means milestone |
Every type takes title, subtitle, note, labels (number format), axis (each part on/off, min/max), legend and per-value pointColors.
The full reference is in docs/spec.md. The machine-readable JSON Schema comes from datum schema, and there are more samples in examples/.
Themes and corporate branding

A theme sets more than colours: the font, bar spacing, axes and gridlines, line styles, where the legend sits and what the labels show.
A theme is a partial JSON file merged over themes/default.json:
{
"name": "Acme",
"font": { "family": "Arial", "size": 10 },
"palette": ["#002B5C", "#0067B1", "#7DB4E6", "#C3D9F0"],
"colors": { "positive": "#2E7D32", "negative": "#C62828" },
"number": { "thousands": ".", "decimal": "," }
}
- Per deck: use the add-in's theme panel,
datum theme deck.pptx acme.json, or thedatum_set_themeMCP tool. - Company-wide default: build the add-in with
npm run build -- --theme acme.json. Every new deck picks it up.
See docs/themes.md.
Hosting the add-in
Office add-ins are web pages, so Office loads the task pane from an HTTPS URL. DATUM's pane is static files with no backend, and all data stays on the user's machine.
- DATUM Desktop (default on Windows and Mac): serves the pane from
https://localhost:32886on each computer; nothing to host. - GitHub Pages: the included workflow publishes
dist/addin(pane, manifest, install page, installers anddatum-desktop.zip) on every push tomain. The one-line installers come from there and fetchdatum-desktop.zipfrom the latest GitHub release, which counts its downloads; a daily workflow records the numbers indownloads.csvon thestatsbranch. - Intranet or SharePoint:
npm run build -- --base-url https://intranet.example.com/datum/ --theme acme.json, then copydist/addin. The installers and the zip in it then download from your server and carry your theme. - Local only:
npm run devserves onhttps://localhost:3000. Runnpx office-addin-dev-certs installonce first.
To deploy to a whole organisation, upload the manifest in the Microsoft 365 admin center under Integrated apps, and distribute datum-desktop.zip (or the install command) for live links.
Development
npm install
npm run check # typecheck + tests
npm run dev # add-in on https://localhost:3000 (also opens as a playground in any browser)
npm run datum -- --help
npm run build && npm run datum -- install # DATUM Desktop from this checkout (status, serve, uninstall)
See CONTRIBUTING.md for structure, style and commit conventions.
Status and limitations
Early (0.x) release. Known limitations:
- Area charts (and pie charts in Office versions without PowerPointApi 1.10) are updated by replacing their slide with an identical copy, because PowerPoint's add-in interface has no free-form shapes. Slide content, notes and layout are kept, but undo treats it as a slide change, so they wait for Update instead of following Excel live. All other charts are redrawn in place.
- Element menus open in the pane's chart preview: PowerPoint doesn't let add-ins extend the right-click menu of shapes on a slide.
- Without DATUM Desktop (PowerPoint on the web, or the add-in file alone), Excel and PowerPoint can't talk directly: links update from the saved workbook when you click Update, and DATUM may ask you to pick the workbook.
- Installer prompts: the scripts are not code-signed yet, so Windows may show an "unknown publisher" warning for
install.cmdand macOS blocks a double-clickedinstall.command(use the Terminal command instead). The localhost certificate needs one confirmation. - The CLI cannot write to a deck that is open in PowerPoint.
- Text widths are estimated, so very long labels may need a larger chart.
License
Apache 2.0. DATUM is an independent project, not affiliated with Microsoft.
@aqentra/datumnpm install @aqentra/datum