Skip to content

QuantStack/xvega

Repository files navigation

XVega

Binder Build Status

A C++ API for Vega-Lite (https://vega.github.io/vega-lite/).

This is an early developer preview under active development.

Building from source

To build the package from source, execute the following:

mkdir build

cd build

cmake -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX .. -DCMAKE_BUILD_TYPE=Release

make -j ${CPU_COUNT} install

Use the library by including the following header:

#include "xvega/xvega.hpp"

Dependencies

xvega depends on xtl, nlohmann json and the xproperty libraries:

xvega xtl nlohmann json xproperty
master ^0.7.0 ^3.7.3 ^0.11.0
0.0.10 ^0.7.0 ^3.7.3 ^0.11.0
0.0.9 ^0.7.0 ^3.7.3 ^0.11.0

Note: Please make sure to have jupyterlab and xeus-cling installed in order to use XVega as a standalone library.

Also, XVega only works with jupyterlab (and not jupyter notebook) as of now.

License

We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.

This software is licensed under the BSD-3-Clause license. See the LICENSE file for details.