@businessanalytics/customvis-lib

Summary

Customvis-lib is a library of classes and functions that help you build custom visualizations. The library is shipped as a .tgz file and is included in every visualization you create. When you create a new custom visualization, you will find this file in the root of your visualization folder structure.

The classes found in customvis-lib can be divided into:

Legends

Needed only in very specific scenarios when you need to modify the default Encodings created by RenderBase.

Data

Classes that represent the data model that will be passed to the visualization.

Rendering

Support classes for rendering the visualization. RenderBase is the base class for all custom visualizations.

Properties & palettes

Properties and palettes allow users to customize the looks and behaviour of a visualization.