@elastic/vega-lib

Include Vega in projeccts using minimal dependencies.

Usage no npm install needed!

<script type="module">
  import elasticVegaLib from 'https://cdn.skypack.dev/@elastic/vega-lib';
</script>

README

vega-lib

Include Vega in client-side projects using minimal dependencies.

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. With Vega you can describe data visualizations in a JSON format, and generate interactive views using either HTML5 Canvas or SVG.

The vega-lib repository packages up the Vega codebase for use in client-side projects (for example, using Webpack or Browserify) with minimal server-side dependencies. We exclude node-canvas dependencies to remove compilation steps and associated overhead.

For more about Vega, including support for server-side rendering, see the main Vega repository and Vega website.