{"action":"created","issue":{"url":"https://api.github.com/repos/project-icp/bee-pollinator-app/issues/89","repository_url":"https://api.github.com/repos/project-icp/bee-pollinator-app","labels_url":"https://api.github.com/repos/project-icp/bee-pollinator-app/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/project-icp/bee-pollinator-app/issues/89/comments","events_url":"https://api.github.com/repos/project-icp/bee-pollinator-app/issues/89/events","html_url":"https://github.com/project-icp/bee-pollinator-app/issues/89","id":197736442,"number":89,"title":"Chart crop yield output","user":{"login":"mmcfarland","id":1014341,"avatar_url":"https://avatars.githubusercontent.com/u/1014341?v=3","gravatar_id":"","url":"https://api.github.com/users/mmcfarland","html_url":"https://github.com/mmcfarland","followers_url":"https://api.github.com/users/mmcfarland/followers","following_url":"https://api.github.com/users/mmcfarland/following{/other_user}","gists_url":"https://api.github.com/users/mmcfarland/gists{/gist_id}","starred_url":"https://api.github.com/users/mmcfarland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmcfarland/subscriptions","organizations_url":"https://api.github.com/users/mmcfarland/orgs","repos_url":"https://api.github.com/users/mmcfarland/repos","events_url":"https://api.github.com/users/mmcfarland/events{/privacy}","received_events_url":"https://api.github.com/users/mmcfarland/received_events","type":"User","site_admin":false},"labels":[{"id":461788251,"url":"https://api.github.com/repos/project-icp/bee-pollinator-app/labels/+","name":"+","color":"000000","default":false},{"id":461787874,"url":"https://api.github.com/repos/project-icp/bee-pollinator-app/labels/in%20progress","name":"in progress","color":"cccccc","default":false}],"state":"open","locked":false,"assignee":{"login":"arottersman","id":7633670,"avatar_url":"https://avatars.githubusercontent.com/u/7633670?v=3","gravatar_id":"","url":"https://api.github.com/users/arottersman","html_url":"https://github.com/arottersman","followers_url":"https://api.github.com/users/arottersman/followers","following_url":"https://api.github.com/users/arottersman/following{/other_user}","gists_url":"https://api.github.com/users/arottersman/gists{/gist_id}","starred_url":"https://api.github.com/users/arottersman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arottersman/subscriptions","organizations_url":"https://api.github.com/users/arottersman/orgs","repos_url":"https://api.github.com/users/arottersman/repos","events_url":"https://api.github.com/users/arottersman/events{/privacy}","received_events_url":"https://api.github.com/users/arottersman/received_events","type":"User","site_admin":false},"assignees":[{"login":"arottersman","id":7633670,"avatar_url":"https://avatars.githubusercontent.com/u/7633670?v=3","gravatar_id":"","url":"https://api.github.com/users/arottersman","html_url":"https://github.com/arottersman","followers_url":"https://api.github.com/users/arottersman/followers","following_url":"https://api.github.com/users/arottersman/following{/other_user}","gists_url":"https://api.github.com/users/arottersman/gists{/gist_id}","starred_url":"https://api.github.com/users/arottersman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arottersman/subscriptions","organizations_url":"https://api.github.com/users/arottersman/orgs","repos_url":"https://api.github.com/users/arottersman/repos","events_url":"https://api.github.com/users/arottersman/events{/privacy}","received_events_url":"https://api.github.com/users/arottersman/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-12-27T17:50:39Z","updated_at":"2016-12-29T16:55:58Z","closed_at":null,"body":"Yield model results returns output as JSON in the format of \r\n```json\r\n{\r\n    \"12\": 0,\r\n    \"16\": 0,\r\n    \"17\": 0,\r\n    \"18\": 0,\r\n    \"20\": 0,\r\n    \"27\": 0.8431655764579773,\r\n    \"33\": 0.3809242248535156,\r\n    \"46\": 0,\r\n    \"47\": 0\r\n}\r\n```\r\nWhere the key is a CDL crop group id and the value is a measure of \"yield per acre\" for that crop type.  We want to display this output in a chart with the following properties:\r\n* Vertica(?)l bar chart, one bar per crop from this scenario\r\n* Replace crop id with crop group label (this may be done within the model, or on the client, not sure what's most beneficial)\r\n* For crops with 0 values, don't display them\r\n* Zip each crop for each scenario with the corresponding crop value from Current Conditions as a grouped bar.  If in that pair, one is zero and the other is non-zero, do include the crop in the chart.\r\n* Add a class for crop id to each bar of a crop id, so we can style the bars in conjunction with the legend colors\r\n\r\nA rough visual guide would be output like this:\r\n![screenshot 2016-12-27 at 12 46 10 pm](https://cloud.githubusercontent.com/assets/1014341/21505177/e6681c94-cc32-11e6-92af-e1e45a5d73cb.png)\r\n\r\nDepending on the number of classes we're reporting on, it may have to be flipped on its axis to allow longer lists of crop types."},"comment":{"url":"https://api.github.com/repos/project-icp/bee-pollinator-app/issues/comments/269659097","html_url":"https://github.com/project-icp/bee-pollinator-app/issues/89#issuecomment-269659097","issue_url":"https://api.github.com/repos/project-icp/bee-pollinator-app/issues/89","id":269659097,"user":{"login":"arottersman","id":7633670,"avatar_url":"https://avatars.githubusercontent.com/u/7633670?v=3","gravatar_id":"","url":"https://api.github.com/users/arottersman","html_url":"https://github.com/arottersman","followers_url":"https://api.github.com/users/arottersman/followers","following_url":"https://api.github.com/users/arottersman/following{/other_user}","gists_url":"https://api.github.com/users/arottersman/gists{/gist_id}","starred_url":"https://api.github.com/users/arottersman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arottersman/subscriptions","organizations_url":"https://api.github.com/users/arottersman/orgs","repos_url":"https://api.github.com/users/arottersman/repos","events_url":"https://api.github.com/users/arottersman/events{/privacy}","received_events_url":"https://api.github.com/users/arottersman/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T16:55:58Z","updated_at":"2016-12-29T16:55:58Z","body":"Should the work on this card carry over to the compare view charts?"}}
{"actor":{"display_login":"arottersman"}}