Introduction
👋 Welcome to Unovis
This documentation will help you to get comfortable with Unovis — a modular and framework-independent library for charts, maps and network graphs.
🏗 Install
Unovis is available on NPM in several packages, each for the UI framework of your choice (React, Angular, Svelte or Vue).
The core package @unovis/ts can be used without a UI framework, and if you use one you'll need to install @unovis/ts
along with the framework specific package:
- React
- Angular
- Svelte
- Vue
- Solid
- TypeScript
npm install -P @unovis/ts @unovis/react
npm install -P @unovis/ts @unovis/angular
npm install -P @unovis/ts @unovis/svelte
npm install -P @unovis/ts @unovis/vue
npm install -P @unovis/ts @unovis/solid
npm install -P @unovis/ts
🧑💻 Create your first chart
Most of Unovis components require a Container to get rendered. There are two types of containers available:
-
XY Container. Designed to manage multiple XY Components (e.g. Line, GroupedBar, Scatter, ...), along with optional Axes, Tooltip and Crosshair;
-
Single Container. Works only with a single components, like Graph, Sankey, or TopoJSONMap. It also supports Tooltip.
Some of the components are stand-alone and don't need a container: LeafletMap, LeafletFlowMap and legends.
Go to the 👟 Quick Start section to learn how to quickly build a simple Line Chart.
🤖 Ready for AI agents
Unovis works well with AI coding agents like Claude Code, Cursor and Codex:
- Config options are documented in the type definitions that ship with
@unovis/ts, nearly all with their default values, so an agent (and your editor) can read the API right from the package. - Components have the same names and options in every framework, so what an agent writes for React carries over to Angular, Svelte, Vue, Solid or plain TypeScript.
@unovis/mcpis an MCP server that renders Unovis charts locally — as SVG, PNG, an interactive HTML file, or ready-to-paste component code for any of the supported frameworks — so an agent can look at a chart before it puts it in your app. See the 🤖 MCP Server docs.
🔭 Explore the docs
Pick a component from the sidebar to learn how to configure it. Start with 📈 Line or 📊 Bar if you want something simple. Don't forget to check out our 🖼 Gallery to see what the library is capable of!