JavaScript Embed#
The vegafusion-wasm
NPM package provides a JavaScript API for embedding Vega charts backed by VegaFusion in web applications. These charts can be connected to a local VegaFusion runtime compiled to WebAssembly, or a remote VegaFusion server over gRPC-Web.
Usage#
See the vegafusion-wasm README for usage instructions.
Demo#
See editor demo for a complete example.