@graphysdk/viz-engine
v1.9.0-beta.1792072575527
Published
Grammar-of-graphics engine for Graphy charts
Readme
@graphysdk/viz-engine
The Graphy chart engine. Build a spec and compile it — no DOM, no React.
React apps should start with @graphysdk/react.
Learn more at graphy.dev.
Install
npm install @graphysdk/viz-engineUsage
import { createSpec, pipe, geom, scale, createCompiler } from '@graphysdk/viz-engine';
const spec = pipe(createSpec({ x: 'month', y: 'revenue' }), geom.bar(), scale.x(), scale.y());
const { scene } = createCompiler().compile({ spec, data });In Node, prefer ES module imports. CommonJS requires Node 20.19+ or 22.12+.
Docs
For React painting, use @graphysdk/react (recommended) or @graphysdk/react-renderer.
Agent skills
Install the Graphy agent skills from github.com/graphysdk/skills to set up the SDK and author charts from Cursor, Claude Code, and other coding agents.
Licence
This package is available under PolyForm Noncommercial, Small Business, or a 32-day Free Trial. Free Trial is local or internal evaluation only — it does not cover a public page. See what you can do under the trial.
For a commercial licence, talk to us.
Support
Questions and community help: Discord.
