{"action":"created","issue":{"url":"https://api.github.com/repos/vega/vega-lite/issues/1342","repository_url":"https://api.github.com/repos/vega/vega-lite","labels_url":"https://api.github.com/repos/vega/vega-lite/issues/1342/labels{/name}","comments_url":"https://api.github.com/repos/vega/vega-lite/issues/1342/comments","events_url":"https://api.github.com/repos/vega/vega-lite/issues/1342/events","html_url":"https://github.com/vega/vega-lite/issues/1342","id":153897119,"number":1342,"title":"Syntax for Table Heatmap","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/milestones/19","html_url":"https://github.com/vega/vega-lite/milestones/1.x.x%20Patches%20&%20Minor%20Features","labels_url":"https://api.github.com/repos/vega/vega-lite/milestones/19/labels","id":1434271,"number":19,"title":"1.x.x Patches & Minor Features","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":42,"closed_issues":17,"state":"open","created_at":"2015-11-30T00:46:52Z","updated_at":"2016-05-10T00:07:28Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-05-10T00:07:28Z","updated_at":"2016-05-10T04:45:27Z","closed_at":null,"body":"Currently heatmap can be created using a `bar` mark.  \r\n\r\n```\r\n{\r\n  \"description\": \"A bar chart showing the US population distribution of age groups in 2000.\",\r\n  \"data\": { \"url\": \"data/population.json\"},\r\n  \"mark\": \"bar\",\r\n  \"encoding\": {\r\n    \"y\": {\r\n      \"field\": \"age\", \"type\": \"ordinal\"\r\n    },\r\n    \"x\": {\r\n      \"field\": \"year\", \"type\": \"ordinal\"\r\n    },\r\n    \"color\": {\r\n      \"aggregate\": \"mean\", \"field\": \"people\", \"type\": \"quantitative\" \r\n    }\r\n  }\r\n}\r\n```\r\n\r\nbut that might not be the most natural way to do it.  We might want to consider other alternative. \r\n\r\n@willium's thought (copied from #1339)\r\n\r\n> I'm also curious to see if the semantics of a heat map could be distanced from the \"bar\" mark too -- as discussed. It would not be my first guess, if I was trying to implement a heat map in Vega-lite. While troublesome, some sort of table seems more reasonable to me. What about the introduction of a \"cell\" mark (i.e. table-cell)?\r\n"},"comment":{"url":"https://api.github.com/repos/vega/vega-lite/issues/comments/218058015","html_url":"https://github.com/vega/vega-lite/issues/1342#issuecomment-218058015","issue_url":"https://api.github.com/repos/vega/vega-lite/issues/1342","id":218058015,"user":{"login":"willium","id":356976,"avatar_url":"https://avatars.githubusercontent.com/u/356976?v=3","gravatar_id":"","url":"https://api.github.com/users/willium","html_url":"https://github.com/willium","followers_url":"https://api.github.com/users/willium/followers","following_url":"https://api.github.com/users/willium/following{/other_user}","gists_url":"https://api.github.com/users/willium/gists{/gist_id}","starred_url":"https://api.github.com/users/willium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willium/subscriptions","organizations_url":"https://api.github.com/users/willium/orgs","repos_url":"https://api.github.com/users/willium/repos","events_url":"https://api.github.com/users/willium/events{/privacy}","received_events_url":"https://api.github.com/users/willium/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T04:45:27Z","updated_at":"2016-05-10T04:45:27Z","body":"I like tile as well (though cell might be more flexible if we end up wanting to support tables? It's also more ambiguous."}}