{"action":"created","comment":{"url":"https://api.github.com/repos/slamdata/slamdata/pulls/comments/77369758","id":77369758,"diff_hunk":"@@ -142,3 +142,8 @@ eval info model = do\n   getMaybeHeatmap axes = do\n     guard $ (not $ null axes.value) ∧ (((length axes.category) + (length axes.time) + (length axes.value)) > 2)\n     pure Heatmap\n+\n+  getMaybeBoxplot ∷ Axes → Maybe ChartType\n+  getMaybeBoxplot axes = do\n+    guard $ (not $ null axes.value) ∧ (((length axes.category) + (length axes.time) + (length axes.value)) > 2)","path":"src/SlamData/Workspace/Card/ChartOptions/Eval.purs","position":null,"original_position":16,"commit_id":"cd9650ab131448b5f808604ee66fef877f888f4b","original_commit_id":"c20610a50fe87cb2662a3fbf427c9f04d7cb8fe6","user":{"login":"shujuwen2013","id":5214350,"avatar_url":"https://avatars.githubusercontent.com/u/5214350?v=3","gravatar_id":"","url":"https://api.github.com/users/shujuwen2013","html_url":"https://github.com/shujuwen2013","followers_url":"https://api.github.com/users/shujuwen2013/followers","following_url":"https://api.github.com/users/shujuwen2013/following{/other_user}","gists_url":"https://api.github.com/users/shujuwen2013/gists{/gist_id}","starred_url":"https://api.github.com/users/shujuwen2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shujuwen2013/subscriptions","organizations_url":"https://api.github.com/users/shujuwen2013/orgs","repos_url":"https://api.github.com/users/shujuwen2013/repos","events_url":"https://api.github.com/users/shujuwen2013/events{/privacy}","received_events_url":"https://api.github.com/users/shujuwen2013/received_events","type":"User","site_admin":false},"body":"Actually  one value axis together with one category (or time, value) axis can compose a boxplot, like: \r\n<img src=http://imgur.com/RVPJ9s3.png>","created_at":"2016-09-02T15:55:57Z","updated_at":"2016-09-02T15:55:57Z","html_url":"https://github.com/slamdata/slamdata/pull/1047#discussion_r77369758","pull_request_url":"https://api.github.com/repos/slamdata/slamdata/pulls/1047","_links":{"self":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/comments/77369758"},"html":{"href":"https://github.com/slamdata/slamdata/pull/1047#discussion_r77369758"},"pull_request":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/1047"}}},"pull_request":{"url":"https://api.github.com/repos/slamdata/slamdata/pulls/1047","id":83132331,"html_url":"https://github.com/slamdata/slamdata/pull/1047","diff_url":"https://github.com/slamdata/slamdata/pull/1047.diff","patch_url":"https://github.com/slamdata/slamdata/pull/1047.patch","issue_url":"https://api.github.com/repos/slamdata/slamdata/issues/1047","number":1047,"state":"open","locked":false,"title":"Add boxplot","user":{"login":"shujuwen2013","id":5214350,"avatar_url":"https://avatars.githubusercontent.com/u/5214350?v=3","gravatar_id":"","url":"https://api.github.com/users/shujuwen2013","html_url":"https://github.com/shujuwen2013","followers_url":"https://api.github.com/users/shujuwen2013/followers","following_url":"https://api.github.com/users/shujuwen2013/following{/other_user}","gists_url":"https://api.github.com/users/shujuwen2013/gists{/gist_id}","starred_url":"https://api.github.com/users/shujuwen2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shujuwen2013/subscriptions","organizations_url":"https://api.github.com/users/shujuwen2013/orgs","repos_url":"https://api.github.com/users/shujuwen2013/repos","events_url":"https://api.github.com/users/shujuwen2013/events{/privacy}","received_events_url":"https://api.github.com/users/shujuwen2013/received_events","type":"User","site_admin":false},"body":"**Boxplot**\r\n\r\n**sample dataset**\r\n**Education-------Gender----LocationAbbr---SubMeasureID---YEAR---Data_Value**\r\nHigh School------Female----AR---------------YTS08------------1999-----70\r\nMiddle School----Female----AR---------------YTS08------------1999-----59.4\r\nHigh School------Male-------AR---------------YTS08------------1999-----73.8\r\nMiddle School----Male-------AR---------------YTS08------------1999-----61\r\nHigh School------Overall-----AR---------------YTS08------------1999-----71.9\r\nMiddle School----Overall----AR---------------YTS08------------1999-----60.2\r\nHigh School------Female----AR---------------YTS10------------1999-----3.6\r\n\r\n**boxplot definition**\r\nsee [wikipedia](https://en.wikipedia.org/wiki/Box_plot)\r\n<img src=http://imgur.com/TQlnqcM.png>\r\n\r\n**configuration editor**\r\n<img src=http://imgur.com/a9Gf4wv.png>\r\n\r\n**simple boxplot**\r\n<img src=http://imgur.com/9gMlZLf.png>\r\n\r\n**multiple series**\r\n<img src=http://imgur.com/QWkhHRP.png>\r\n\r\n**duplications**\r\n<img src=http://imgur.com/kAsqrFG.png>\r\n<img src=http://imgur.com/jDMUr46.png>\r\n\r\n**NOTE**:\r\nCurrently, Echarts 3 cannot properly display outlier dots when there are multiple series: all dots locate along with the same centeral line of the panel, rather than the ones of respective boxes.\r\nTemporarily hide the outlier dots when there are multiple series. This setting should be removed after Echarts 3 fixes the problem.\r\nAn issue was opened to Echarts 3: \r\n<https://github.com/ecomfe/echarts/issues/3944>","created_at":"2016-08-29T17:07:11Z","updated_at":"2016-09-02T15:55:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de8e12ecdd73f9bbcab68b7c09b35ff6be4d1efc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/slamdata/slamdata/pulls/1047/commits","review_comments_url":"https://api.github.com/repos/slamdata/slamdata/pulls/1047/comments","review_comment_url":"https://api.github.com/repos/slamdata/slamdata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/slamdata/slamdata/issues/1047/comments","statuses_url":"https://api.github.com/repos/slamdata/slamdata/statuses/cd9650ab131448b5f808604ee66fef877f888f4b","head":{"label":"shujuwen2013:add-boxplot","ref":"add-boxplot","sha":"cd9650ab131448b5f808604ee66fef877f888f4b","user":{"login":"shujuwen2013","id":5214350,"avatar_url":"https://avatars.githubusercontent.com/u/5214350?v=3","gravatar_id":"","url":"https://api.github.com/users/shujuwen2013","html_url":"https://github.com/shujuwen2013","followers_url":"https://api.github.com/users/shujuwen2013/followers","following_url":"https://api.github.com/users/shujuwen2013/following{/other_user}","gists_url":"https://api.github.com/users/shujuwen2013/gists{/gist_id}","starred_url":"https://api.github.com/users/shujuwen2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shujuwen2013/subscriptions","organizations_url":"https://api.github.com/users/shujuwen2013/orgs","repos_url":"https://api.github.com/users/shujuwen2013/repos","events_url":"https://api.github.com/users/shujuwen2013/events{/privacy}","received_events_url":"https://api.github.com/users/shujuwen2013/received_events","type":"User","site_admin":false},"repo":{"id":62100676,"name":"slamdata","full_name":"shujuwen2013/slamdata","owner":{"login":"shujuwen2013","id":5214350,"avatar_url":"https://avatars.githubusercontent.com/u/5214350?v=3","gravatar_id":"","url":"https://api.github.com/users/shujuwen2013","html_url":"https://github.com/shujuwen2013","followers_url":"https://api.github.com/users/shujuwen2013/followers","following_url":"https://api.github.com/users/shujuwen2013/following{/other_user}","gists_url":"https://api.github.com/users/shujuwen2013/gists{/gist_id}","starred_url":"https://api.github.com/users/shujuwen2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shujuwen2013/subscriptions","organizations_url":"https://api.github.com/users/shujuwen2013/orgs","repos_url":"https://api.github.com/users/shujuwen2013/repos","events_url":"https://api.github.com/users/shujuwen2013/events{/privacy}","received_events_url":"https://api.github.com/users/shujuwen2013/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shujuwen2013/slamdata","description":"The web-based front-end for SlamData.","fork":true,"url":"https://api.github.com/repos/shujuwen2013/slamdata","forks_url":"https://api.github.com/repos/shujuwen2013/slamdata/forks","keys_url":"https://api.github.com/repos/shujuwen2013/slamdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shujuwen2013/slamdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shujuwen2013/slamdata/teams","hooks_url":"https://api.github.com/repos/shujuwen2013/slamdata/hooks","issue_events_url":"https://api.github.com/repos/shujuwen2013/slamdata/issues/events{/number}","events_url":"https://api.github.com/repos/shujuwen2013/slamdata/events","assignees_url":"https://api.github.com/repos/shujuwen2013/slamdata/assignees{/user}","branches_url":"https://api.github.com/repos/shujuwen2013/slamdata/branches{/branch}","tags_url":"https://api.github.com/repos/shujuwen2013/slamdata/tags","blobs_url":"https://api.github.com/repos/shujuwen2013/slamdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shujuwen2013/slamdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shujuwen2013/slamdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/shujuwen2013/slamdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shujuwen2013/slamdata/statuses/{sha}","languages_url":"https://api.github.com/repos/shujuwen2013/slamdata/languages","stargazers_url":"https://api.github.com/repos/shujuwen2013/slamdata/stargazers","contributors_url":"https://api.github.com/repos/shujuwen2013/slamdata/contributors","subscribers_url":"https://api.github.com/repos/shujuwen2013/slamdata/subscribers","subscription_url":"https://api.github.com/repos/shujuwen2013/slamdata/subscription","commits_url":"https://api.github.com/repos/shujuwen2013/slamdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/shujuwen2013/slamdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/shujuwen2013/slamdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/shujuwen2013/slamdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/shujuwen2013/slamdata/contents/{+path}","compare_url":"https://api.github.com/repos/shujuwen2013/slamdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shujuwen2013/slamdata/merges","archive_url":"https://api.github.com/repos/shujuwen2013/slamdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shujuwen2013/slamdata/downloads","issues_url":"https://api.github.com/repos/shujuwen2013/slamdata/issues{/number}","pulls_url":"https://api.github.com/repos/shujuwen2013/slamdata/pulls{/number}","milestones_url":"https://api.github.com/repos/shujuwen2013/slamdata/milestones{/number}","notifications_url":"https://api.github.com/repos/shujuwen2013/slamdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shujuwen2013/slamdata/labels{/name}","releases_url":"https://api.github.com/repos/shujuwen2013/slamdata/releases{/id}","deployments_url":"https://api.github.com/repos/shujuwen2013/slamdata/deployments","created_at":"2016-06-28T01:39:47Z","updated_at":"2016-06-28T01:39:49Z","pushed_at":"2016-09-02T15:46:39Z","git_url":"git://github.com/shujuwen2013/slamdata.git","ssh_url":"git@github.com:shujuwen2013/slamdata.git","clone_url":"https://github.com/shujuwen2013/slamdata.git","svn_url":"https://github.com/shujuwen2013/slamdata","homepage":null,"size":345944,"stargazers_count":0,"watchers_count":0,"language":"PureScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"slamdata:master","ref":"master","sha":"f8893ee2c138f2afb21c15173eddfddf398e3954","user":{"login":"slamdata","id":5385602,"avatar_url":"https://avatars.githubusercontent.com/u/5385602?v=3","gravatar_id":"","url":"https://api.github.com/users/slamdata","html_url":"https://github.com/slamdata","followers_url":"https://api.github.com/users/slamdata/followers","following_url":"https://api.github.com/users/slamdata/following{/other_user}","gists_url":"https://api.github.com/users/slamdata/gists{/gist_id}","starred_url":"https://api.github.com/users/slamdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slamdata/subscriptions","organizations_url":"https://api.github.com/users/slamdata/orgs","repos_url":"https://api.github.com/users/slamdata/repos","events_url":"https://api.github.com/users/slamdata/events{/privacy}","received_events_url":"https://api.github.com/users/slamdata/received_events","type":"Organization","site_admin":false},"repo":{"id":30566154,"name":"slamdata","full_name":"slamdata/slamdata","owner":{"login":"slamdata","id":5385602,"avatar_url":"https://avatars.githubusercontent.com/u/5385602?v=3","gravatar_id":"","url":"https://api.github.com/users/slamdata","html_url":"https://github.com/slamdata","followers_url":"https://api.github.com/users/slamdata/followers","following_url":"https://api.github.com/users/slamdata/following{/other_user}","gists_url":"https://api.github.com/users/slamdata/gists{/gist_id}","starred_url":"https://api.github.com/users/slamdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slamdata/subscriptions","organizations_url":"https://api.github.com/users/slamdata/orgs","repos_url":"https://api.github.com/users/slamdata/repos","events_url":"https://api.github.com/users/slamdata/events{/privacy}","received_events_url":"https://api.github.com/users/slamdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/slamdata/slamdata","description":"The web-based front-end for SlamData.","fork":false,"url":"https://api.github.com/repos/slamdata/slamdata","forks_url":"https://api.github.com/repos/slamdata/slamdata/forks","keys_url":"https://api.github.com/repos/slamdata/slamdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slamdata/slamdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slamdata/slamdata/teams","hooks_url":"https://api.github.com/repos/slamdata/slamdata/hooks","issue_events_url":"https://api.github.com/repos/slamdata/slamdata/issues/events{/number}","events_url":"https://api.github.com/repos/slamdata/slamdata/events","assignees_url":"https://api.github.com/repos/slamdata/slamdata/assignees{/user}","branches_url":"https://api.github.com/repos/slamdata/slamdata/branches{/branch}","tags_url":"https://api.github.com/repos/slamdata/slamdata/tags","blobs_url":"https://api.github.com/repos/slamdata/slamdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slamdata/slamdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slamdata/slamdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/slamdata/slamdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slamdata/slamdata/statuses/{sha}","languages_url":"https://api.github.com/repos/slamdata/slamdata/languages","stargazers_url":"https://api.github.com/repos/slamdata/slamdata/stargazers","contributors_url":"https://api.github.com/repos/slamdata/slamdata/contributors","subscribers_url":"https://api.github.com/repos/slamdata/slamdata/subscribers","subscription_url":"https://api.github.com/repos/slamdata/slamdata/subscription","commits_url":"https://api.github.com/repos/slamdata/slamdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/slamdata/slamdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/slamdata/slamdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/slamdata/slamdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/slamdata/slamdata/contents/{+path}","compare_url":"https://api.github.com/repos/slamdata/slamdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slamdata/slamdata/merges","archive_url":"https://api.github.com/repos/slamdata/slamdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slamdata/slamdata/downloads","issues_url":"https://api.github.com/repos/slamdata/slamdata/issues{/number}","pulls_url":"https://api.github.com/repos/slamdata/slamdata/pulls{/number}","milestones_url":"https://api.github.com/repos/slamdata/slamdata/milestones{/number}","notifications_url":"https://api.github.com/repos/slamdata/slamdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slamdata/slamdata/labels{/name}","releases_url":"https://api.github.com/repos/slamdata/slamdata/releases{/id}","deployments_url":"https://api.github.com/repos/slamdata/slamdata/deployments","created_at":"2015-02-10T00:14:37Z","updated_at":"2016-08-27T19:55:37Z","pushed_at":"2016-09-02T15:46:40Z","git_url":"git://github.com/slamdata/slamdata.git","ssh_url":"git@github.com:slamdata/slamdata.git","clone_url":"https://github.com/slamdata/slamdata.git","svn_url":"https://github.com/slamdata/slamdata","homepage":null,"size":357797,"stargazers_count":157,"watchers_count":157,"language":"PureScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":53,"forks":35,"open_issues":53,"watchers":157,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/1047"},"html":{"href":"https://github.com/slamdata/slamdata/pull/1047"},"issue":{"href":"https://api.github.com/repos/slamdata/slamdata/issues/1047"},"comments":{"href":"https://api.github.com/repos/slamdata/slamdata/issues/1047/comments"},"review_comments":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/1047/comments"},"review_comment":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/1047/commits"},"statuses":{"href":"https://api.github.com/repos/slamdata/slamdata/statuses/cd9650ab131448b5f808604ee66fef877f888f4b"}}}}
{"actor":{"display_login":"shujuwen2013"}}