Repolode
vega

vega/vega-lite

A high-level JSON grammar for declarative interactive charts that compiles to complete Vega specifications.

Open-source alternative to:Tableau

Stars
5,527
Forks
727
Open issues
820
Last commit
yesterday

What is it?

Vega-Lite is a higher-level grammar for visual analysis. You describe a chart as a concise JSON specification covering data, encodings, marks and transforms, and Vega-Lite compiles it into a full Vega specification that renders in the browser.

Because it sits above Vega, authors write less boilerplate than with the lower-level Vega language while keeping access to interactive features such as selections and linked views. The project is built in TypeScript and is distributed on npm as the vega-lite package.

It is aimed at data analysts and developers who want to create charts quickly from tabular data, and it is documented with examples, tutorials and an online editor.

Key features

  • 01Declarative JSON syntax for describing charts from data, encodings and marks.
  • 02Compiles specifications into complete Vega specifications.
  • 03Supports interactive selections and linked views.
  • 04Includes data transforms such as aggregation and filtering within the spec.
  • 05Distributed as the vega-lite npm package written in TypeScript.

Use cases

  • Building interactive charts for exploratory data analysis from tabular data.
  • Embedding declarative charts in web applications or dashboards.
  • Generating chart specifications programmatically from code or configuration.

Quick start

  1. 1

    Install vega-lite from npm

  2. 2

    Open the online Vega Editor to try a Vega-Lite example

Topics

FAQ

What is vega-lite?
A high-level JSON grammar for declarative interactive charts that compiles to complete Vega specifications. Vega-Lite is a higher-level grammar for visual analysis. You describe a chart as a concise JSON specification covering data, encodings, marks and transforms, and Vega-Lite compiles it into a full Vega specification that renders in the browser.
Is vega-lite free to use? What license does it have?
vega-lite is open source under the BSD-3-Clause license. Check the license terms before using it in commercial products.
Is vega-lite still maintained?
Actively maintained. The last commit to vega-lite was on Oct 21, 2026.
What can I use vega-lite for?
Building interactive charts for exploratory data analysis from tabular data. Embedding declarative charts in web applications or dashboards. Generating chart specifications programmatically from code or configuration.
How do I install vega-lite?
Install vega-lite from npm Open the online Vega Editor to try a Vega-Lite example
Where can I get vega-lite?
The source code and installation instructions are on GitHub: https://github.com/vega/vega-lite

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects