cristineguadelupe / vega_lite

Elixir bindings for Vega-Lite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VegaLite

Actions Status Docs

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.

Installation

Inside Livebook

You most likely want to use VegaLite in Livebook, in which case you can call Mix.install/2:

Mix.install([
  {:vega_lite, "~> 0.1.8"},
  {: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.

In Mix projects

You can add the :vega_lite dependency to your mix.exs:

def deps do
  [
    {:vega_lite, "~> 0.1.8"}
  ]
end

License

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.

About

Elixir bindings for Vega-Lite

License:Apache License 2.0


Languages

Language:Elixir 100.0%