Elixir bindings to Vega-Lite.
You can use it inside Livebook to plot graphics or in regular Elixir projects to save graphics to PNG, SVG, PDF, or render them using a webviewer. See the documentation.
For a higher-level plotting library, built on top of these bindings, see Tucan.
You most likely want to use VegaLite in Livebook,
in which case you can call Mix.install/2
:
Mix.install([
{:vega_lite, "~> 0.1.11"},
{:kino_vega_lite, "~> 0.1.8"}
])
You will also want kino_vega_lite to ensure Livebook renders the graphics nicely. There is an introductory guide to VegaLite in the "Explore" section of your Livebook application.
You can add the :vega_lite
dependency to your mix.exs
:
def deps do
[
{:vega_lite, "~> 0.1.11"}
]
end
Copyright (C) 2021 Dashbit
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.