Skip to content

babarda/open-visualization-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Visualization Protocol

The world's first design system built for AI agents.

Paste one block into your agent and it draws pixel-identical, honest charts. 74 chart skills x 16 design languages = 1,184 ready-made visuals, every one verified to the byte.

protocol chart skills design languages gate renderers license

Manifesto · Protocol · Chart skills · For AI agents · Implement a renderer · Contribute

Ten OVP chart skills cycling: ranked bars, S-curve, waterfall bridge, bump chart, bullet board, beeswarm, sankey, KPI table, surplus-deficit area, route progress map. Every chart rendered deterministically by the reference implementation

Every visual on this page was rendered by the protocol itself. No screenshots, no mockups, no manual editing: each image re-renders byte-identical from the JSON in this repository, and 3,179 automated checks block the repo if a single byte drifts.


Same data. Same instruction. Sixteen organizations.

This is the trick nobody else does. One chart spec, one data file, and sixteen complete visual identities, each with its own philosophy, typography, palette, and communication rules. Change two characters (DL-02 to DL-08) and the same page becomes a boardroom brief, a legal chronology, a scientific readout, or a control-room wall:

in DL-01 boardroom in DL-03 analyst in DL-08 control room in DL-13 editorial
Line chart in AGRAW, the restrained serif boardroom language Line chart in LOGOS, the evidence-first analyst language Line chart in SENTINEL, the dark monitoring language Line chart in MIZAN, the warm editorial language

Identical numbers. Four different rooms. Zero manual design work.

Why your agent needs this

Ask an LLM for "a clean, professional chart" and you get a plausible one: pleasant colors, a random axis, a legend nobody needed, sometimes a baseline that lies. Ask again tomorrow and you get a different one. Same request, different chart, forever.

What that costs you today:

You:    "Make a professional progress chart for the weekly review"
Agent:  *invents a color scheme*
        *picks a chart type by vibes*
        *cuts the y-axis at 40 to make the trend look dramatic*
        *adds a legend for one series*
You:    "...that's not what it looked like last week"

What it looks like with OVP:

You:    "Render CH-TIM-02 in DL-02 with data.json"
Agent:  *follows a 130-line exact specification*
Result: the same pixels as last week, next week, and on your
        colleague's machine. Zero baseline. Direct labels. Verified.

The design judgment moved out of every conversation and into a protocol: written once, argued once, versioned, and enforced by a validation gate. Everything after that is reproduction, not re-invention.

For AI agents — one line

Paste this into your agent's chat. It reads the skill file and knows how to resolve questions to charts, charts to languages, and languages to exact pixels:

Read https://raw.githubusercontent.com/babarda/open-visualization-protocol/main/SKILL.md and follow it.

That is the whole install. SKILL.md teaches the resolution chain; REGISTRY.json is the knowledge graph it queries; the blocks are the payloads it obeys.

For humans — 60 seconds

Every chart ships as a copy-paste block. No dependency, no API key: the block IS the skill.

Claude Code / Claude.ai — one chart, one identity, straight into your rules:

git clone https://github.com/babarda/open-visualization-protocol ovp
cat ovp/blocks/design-system/CH-RNK-01_DL-02.md >> CLAUDE.md

Or the whole catalogue as a skill:

mkdir -p ~/.claude/skills/ovp
cp ovp/SKILL.md ~/.claude/skills/ovp/
cp -r ovp/blocks ovp/REGISTRY.json ovp/QUESTIONS.md ovp/DECIDER.md ~/.claude/skills/ovp/

Cursor / Codex / Copilot / any agent — same blocks, your rule file:

cat ovp/blocks/skill/DL-02.md ovp/blocks/skill/CH-TIM-02.md >> AGENTS.md   # or .cursorrules

For developers — see it live in 30 seconds

git clone https://github.com/babarda/open-visualization-protocol ovp && cd ovp

# render a chart: exact spec + design language + data -> SVG
python tools/render.py --spec specs/CH-TIM-02.json --tokens tokens/DL-03.json \
    --data golden/CH-TIM-02/data.json --out chart.svg

# re-render it with a different language: same data, new identity
python tools/render.py --spec specs/CH-TIM-02.json --tokens tokens/DL-08.json \
    --data golden/CH-TIM-02/data.json --out chart-dark.svg

# browse the full gallery locally
python -m http.server 8000 --directory docs   # open http://localhost:8000

# prove determinism yourself: 3,179 checks, byte-level
python tools/validate.py

The SVG renderer is Python standard library only. The PPTX transpiler (pip install python-pptx) turns the same specs into native PowerPoint shapes, member-identical on every run.

Sixteen design languages, not sixteen themes

Each language is a complete communication system: a philosophy (civilization, principle, motto, laws), a schema-enforced constitution (narrative style, information density, annotation and highlight policy, charts per page, decision style), and rendering behavior that actually changes. The legal language refuses highlight emphasis. The scientific languages tighten the type scale. The executive ones enlarge it. All deterministic, all golden-locked.

Six OVP design languages cycling as full pages: SENTINEL dark control room, AGRAW boardroom, KATA weekly status, EVIDENTIA consulting exhibit, NOROSHI escalation flash, MIZAN editorial page

All sixteen, with palettes, constitutions, and one-click copy blocks: the languages gallery.

74 chart skills, coded by message

Charts are coded by what the message is, never by shape. Every entry carries use-when, not-when, "see instead" exits, honesty rules, anti-patterns, a QA checklist, a data schema, and golden renders in all 16 languages:

S-curve chart skill: cumulative progress vs plan with gap annotation Waterfall chart skill: cost bridge from budget to forecast Beeswarm chart skill: deterministic packing, no random jitter
Surplus deficit area chart skill with exact zero-crossing fills Gantt chart skill: schedule bars, milestones, today line Status matrix board chart skill for stand-up walls
Bullet chart skill: actual vs target vs banded ranges Flow map chart skill with width-true arrows over supplied geography Sankey chart skill with conserved width-true bands
Family What the message is Skills
Ranking who is biggest, ordered 6
Magnitude how big things are 9
Change over time how it moved 15
Part-to-whole how a total splits 10
Deviation distance from plan, budget, zero 5
Distribution how values spread 10
Correlation how two measures relate 7
Spatial where 5
Flow movement between states 4
Tables exact values readers look up 3

Full map with statuses: TAXONOMY.md. Even the charts we warn against (pies, gauges, radars, chords) ship with specs, so when someone demands one, your agent draws the least dishonest version on record.

Built for AI agents first

Agents never read the handbook. They load three small things:

  1. REGISTRY.json: the knowledge graph. A chart knows which business questions it answers, which analytical patterns recommend it, which recipes use it. One lookup, no crawl.
  2. One language block + the matched chart block(s) from blocks/: self-contained runtime payloads, generated from the canonical specs and drift-gated.
  3. A narrative skeleton (claim, evidence, cause, action, owner) so the finding is told, not just drawn.

Token efficiency is a protocol objective (PROTOCOL 2.1), and llms.txt hands crawling agents the map.

Honest by construction

Zero baselines. Direct labels, never legends. Declared inputs only: no silent trend lines, no silent smoothing, no unstated normalization, no random jitter (even the beeswarm packs deterministically). Deltas colored by declared good-direction, never by sign. And the validator enforces what style guides never could: waterfalls must reconcile, cumulative curves must never decrease, rank columns must be permutations, five-number summaries must be ordered.

Who uses this for what

Developers: report pipelines in CI, batch chart generation from databases, PowerPoint automation without PowerPoint, pixel-stable visual regression suites.

AI agents: dashboards and slide visuals from user prompts that come out identical across sessions, models, and vendors; charts that survive a design review on the first pass.

Teams: one visual identity across every deck and dashboard, enforced by a gate instead of a brand police; weekly deliverables that render identically forever (see the recipes).

What is in the box

PROTOCOL.md, RFC-0001.md    the normative reference, v1.0, frozen
MANIFESTO.md                why, and the seven laws that never break
SKILL.md                    the one-line agent install
REGISTRY.json               the machine index and knowledge graph
specs/ tokens/ questions/   canonical JSON: 74 charts, 16 languages,
patterns/ narratives/       12 business questions, 8 patterns,
components/ recipes/        4 narrative skeletons, 11 components,
                            6 full-page recipes
blocks/                     copy-paste skills, two flavors, generated
golden/                     1,200+ golden renders: the conformance suite
schema/                     JSON Schemas incl. per-chart data schemas
tools/                      reference implementation: SVG renderer,
                            PPTX transpiler, recipe compositor, QA gate
docs/                       the documentation site (GitHub Pages ready)

Implement your own renderer from the published spec alone: determinism contract, conformance levels, schemas, and the golden test suite are in docs/implement.html. That is this project's success criterion: an independent team ships an OVP-compatible implementation without asking us anything.

Contributing

Codes are permanent, the gate is law, and every admission rule is written down: CONTRIBUTING.md. New languages need an occasion no existing language serves and one signature move. New charts need a message no existing entry carries and an honest spec.

If OVP saved you a design argument this week, star the repo: stars are how the next person lost in "make it look professional" finds it.


Keywords: AI visualization skills, chart skills for LLM agents, Claude chart skills, CLAUDE.md skills, agent skills, deterministic charts, design language system, data visualization protocol, AI generated dashboards, agent design system, Cursor rules charts, chart grammar for AI, design tokens for charts, SVG chart renderer, PowerPoint chart automation, honest data visualization, visualization standard for AI agents.

About

OVP: the open visualization protocol for describing, validating, and rendering information design identically, for humans, software, and AI agents, on any platform. 74 chart skills x 16 design languages.

Topics

Resources

License

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors