{"action":"created","issue":{"url":"https://api.github.com/repos/vega/vega-lite-ui/issues/34","labels_url":"https://api.github.com/repos/vega/vega-lite-ui/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/vega/vega-lite-ui/issues/34/comments","events_url":"https://api.github.com/repos/vega/vega-lite-ui/issues/34/events","html_url":"https://github.com/vega/vega-lite-ui/issues/34","id":90290755,"number":34,"title":"Data Management Layer","user":{"login":"kanitw","id":111269,"avatar_url":"https://avatars.githubusercontent.com/u/111269?v=3","gravatar_id":"","url":"https://api.github.com/users/kanitw","html_url":"https://github.com/kanitw","followers_url":"https://api.github.com/users/kanitw/followers","following_url":"https://api.github.com/users/kanitw/following{/other_user}","gists_url":"https://api.github.com/users/kanitw/gists{/gist_id}","starred_url":"https://api.github.com/users/kanitw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanitw/subscriptions","organizations_url":"https://api.github.com/users/kanitw/orgs","repos_url":"https://api.github.com/users/kanitw/repos","events_url":"https://api.github.com/users/kanitw/events{/privacy}","received_events_url":"https://api.github.com/users/kanitw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/vega/vega-lite-ui/milestones/3","html_url":"https://github.com/vega/vega-lite-ui/milestones/1.0","labels_url":"https://api.github.com/repos/vega/vega-lite-ui/milestones/3/labels","id":1215152,"number":3,"title":"1.0","description":"","creator":{"login":"kanitw","id":111269,"avatar_url":"https://avatars.githubusercontent.com/u/111269?v=3","gravatar_id":"","url":"https://api.github.com/users/kanitw","html_url":"https://github.com/kanitw","followers_url":"https://api.github.com/users/kanitw/followers","following_url":"https://api.github.com/users/kanitw/following{/other_user}","gists_url":"https://api.github.com/users/kanitw/gists{/gist_id}","starred_url":"https://api.github.com/users/kanitw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanitw/subscriptions","organizations_url":"https://api.github.com/users/kanitw/orgs","repos_url":"https://api.github.com/users/kanitw/repos","events_url":"https://api.github.com/users/kanitw/events{/privacy}","received_events_url":"https://api.github.com/users/kanitw/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":0,"state":"open","created_at":"2015-07-20T04:24:39Z","updated_at":"2015-08-05T03:17:57Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-06-23T05:19:00Z","updated_at":"2015-10-05T06:43:24Z","closed_at":null,"body":"## Basic\r\n\r\nCurrently all visualization in Voyager and in Polestar’s bookmark loads data form url (See Voyager’s [Visrec.service.js#L147](https://github.com/vega/voyager/blob/master/src/app/visrec/visrec.service.js#L147) for example).  \r\nTherefore, data transformation are done separately via Vega call — leading to redundant data processing.  \r\n\r\nAlternatively, we should have a central data processing layer that run the Vega transforms pipeline once and bind data to each visualization via `data` parameter in `vg.parse.spec` call or via Vega's `.data()` runtime method (See [Vega’s runtime docs](https://github.com/vega/vega/wiki/Runtime) for more info).\r\n\r\n## Advance \r\n\r\n- [ ] support brushing\r\n- [ ] support linking — need to further think about this "},"comment":{"url":"https://api.github.com/repos/vega/vega-lite-ui/issues/comments/145443922","html_url":"https://github.com/vega/vega-lite-ui/issues/34#issuecomment-145443922","issue_url":"https://api.github.com/repos/vega/vega-lite-ui/issues/34","id":145443922,"user":{"login":"kanitw","id":111269,"avatar_url":"https://avatars.githubusercontent.com/u/111269?v=3","gravatar_id":"","url":"https://api.github.com/users/kanitw","html_url":"https://github.com/kanitw","followers_url":"https://api.github.com/users/kanitw/followers","following_url":"https://api.github.com/users/kanitw/following{/other_user}","gists_url":"https://api.github.com/users/kanitw/gists{/gist_id}","starred_url":"https://api.github.com/users/kanitw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanitw/subscriptions","organizations_url":"https://api.github.com/users/kanitw/orgs","repos_url":"https://api.github.com/users/kanitw/repos","events_url":"https://api.github.com/users/kanitw/events{/privacy}","received_events_url":"https://api.github.com/users/kanitw/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T06:43:24Z","updated_at":"2015-10-05T06:43:24Z","body":"@vlandham @domoritz @kadamwhite  I have just updated the description of this issue with more details.  \r\n\r\nAlso note that I tried `.data()` call in Vega 1, however when calling `.data()` in Vega 1.  Data transformation described in the pipeline are not recomputed.  I have not tried `vg.parse.spec` yet.   \r\n"}}