Idyll wrapper component for vega lite
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.babelrc
.gitignore
LICENSE
README.md
index.js fix import bug May 14, 2018
lib.js
package.json

README.md

idyll-vega-lite

Idyll wrapper component for vega lite

Usage

$ npm install --save idyll-vega-lite vega vega-lite

In your Idyll markup,

[IdyllVegaLite data:myDataset spec:`{
  mark: "line",
  encoding: {
    x: {
      field: ...,
      type: ...
    },
    y: {
      field: ...,
      type: ...
    }
  }
}` /]

See https://idyll-lang.github.io/examples/csv/ for example usage.