Add Vizzu as dependency to the project:
yarn add vizzu
Import Vizzu and set the location of the wasm module before you call the Vizzu constructor:
import Vizzu from 'vizzu';
import VizzuModule from 'vizzu/dist/cvizzu.wasm?url'
Vizzu.options({ wasmUrl: VizzuModule })
// const chart = new Vizzu(...);
To get started, clone the repository, or use the green "Use as a template" button on the top right.
Run yarn
to install the necessary dependencies.
To run the app, use yarn dev
. It's the bare bones basic chart, but a good start.