Here's a tutorial and an example.
The Vizzu constructor has to load Vizzu's WebAssembly module asynchronously to
prevent blocking the whole page. Because of this, any method except animate()
will throw an exception while the library is not initialized.
There is an initializing
promise in the Vizzu class, which will resolve when
initialization is finished. You can call all methods after this promise is
resolved.
This example reads the data from a CSV.
You can find the source here; the CSV loading part is in the csv-input.js file.
The maximum number of fraction digits can be set for marker and axis labels with
maxFractionDigits
style parameter.