From 65d7c153f5a1c5d136829fae2c0c197ef1e3a5bd Mon Sep 17 00:00:00 2001 From: nesterone Date: Sat, 5 Aug 2017 18:32:53 +0300 Subject: [PATCH] Initial TODO List #2 - update Readme --- README.md | 103 +++++++----------- docs/index.html | 6 +- docs/static/js/app.de9d67f257e7b56f9185.js | 2 - .../static/js/app.de9d67f257e7b56f9185.js.map | 1 - .../js/manifest.4822bf12d9df6ca4ee0a.js | 2 - .../js/manifest.4822bf12d9df6ca4ee0a.js.map | 1 - 6 files changed, 42 insertions(+), 73 deletions(-) delete mode 100644 docs/static/js/app.de9d67f257e7b56f9185.js delete mode 100644 docs/static/js/app.de9d67f257e7b56f9185.js.map delete mode 100644 docs/static/js/manifest.4822bf12d9df6ca4ee0a.js delete mode 100644 docs/static/js/manifest.4822bf12d9df6ca4ee0a.js.map diff --git a/README.md b/README.md index b8b11f3..2099bd0 100644 --- a/README.md +++ b/README.md @@ -1,92 +1,67 @@ # vue-vega -> Vega Visualization Gramma extention for Vue +Visualization Grammar for Vue.js -Vega Lite Gramma extension +## Features & characteristics: -Original Vega gramma file +* Vega-lite support from 2.0.0 +* Dependencies on vega and vega-lite +* Vue components as vega specs +* `vl-spec` component to use in template +* +99% test coverage -``` -{ - "$schema": "https://vega.github.io/schema/vega-lite/v2.json", - "description": "A simple bar chart with embedded data.", - "data": { - "values": [ - {"a": "A","b": 28}, {"a": "B","b": 55}, {"a": "C","b": 43}, - {"a": "D","b": 91}, {"a": "E","b": 81}, {"a": "F","b": 53}, - {"a": "G","b": 19}, {"a": "H","b": 87}, {"a": "I","b": 52} - ] - }, - "mark": "bar", - "encoding": { - "x": {"field": "a", "type": "ordinal"}, - "y": {"field": "b", "type": "quantitative"} - } -} -``` - -We can define in Vue component style +## Install & basic usage +```bash + npm install vue-vega ``` -