{"action":"created","comment":{"url":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls/comments/67843887","id":67843887,"diff_hunk":"@@ -0,0 +1,141 @@\n+(function () {\r\n+    'use strict';\r\n+\r\n+    var maxDataCount = 50;\r\n+    var maxDataHeight = 200;\r\n+    var delay = 600;\r\n+    var containerPadding = {left: 50, bottom: 10};\r\n+    var innerContainerWidth = 1800;\r\n+    var containerHeight = maxDataHeight + 2*containerPadding.bottom;\r\n+    var yHistogramAxisClass = 'y-histogram-axis';\r\n+\r\n+    var data = [];\r\n+    var maxValue = 0;\r\n+\r\n+    var container = d3\r\n+        .select('body')\r\n+        .append('svg')\r\n+        .attr('width', innerContainerWidth)\r\n+        .attr('height', containerHeight);\r\n+\r\n+    var redColorScale = d3\r\n+        .scale\r\n+        .linear()\r\n+        .domain([0, 1])\r\n+        .range([0, 100]);\r\n+\r\n+    var greenColorScale = d3\r\n+        .scale\r\n+        .linear()\r\n+        .domain([0, 1])\r\n+        .range([0, 150]);\r\n+\r\n+    var blueColorScale = d3\r\n+        .scale\r\n+        .linear()\r\n+        .domain([0, 1])\r\n+        .range([100, 255]);\r\n+\r\n+    var xScale = d3\r\n+        .scale\r\n+        .ordinal()\r\n+        .domain(d3.range(maxDataCount))\r\n+        .rangeRoundBands([0, innerContainerWidth], 0.1);\r\n+\r\n+    var yAxis;\r\n+    var heightScale;\r\n+    var axisScale;\r","path":"scripts/histogram.js","position":47,"original_position":47,"commit_id":"a14440ebdb15b66dc16baae73f5ae88f97119cf7","original_commit_id":"a14440ebdb15b66dc16baae73f5ae88f97119cf7","user":{"login":"demon4242","id":1639886,"avatar_url":"https://avatars.githubusercontent.com/u/1639886?v=3","gravatar_id":"","url":"https://api.github.com/users/demon4242","html_url":"https://github.com/demon4242","followers_url":"https://api.github.com/users/demon4242/followers","following_url":"https://api.github.com/users/demon4242/following{/other_user}","gists_url":"https://api.github.com/users/demon4242/gists{/gist_id}","starred_url":"https://api.github.com/users/demon4242/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demon4242/subscriptions","organizations_url":"https://api.github.com/users/demon4242/orgs","repos_url":"https://api.github.com/users/demon4242/repos","events_url":"https://api.github.com/users/demon4242/events{/privacy}","received_events_url":"https://api.github.com/users/demon4242/received_events","type":"User","site_admin":false},"body":"we can place this var in 'initAxis' function","created_at":"2016-06-21T10:25:44Z","updated_at":"2016-06-21T10:25:44Z","html_url":"https://github.com/leshaduduk/D3Investigation/pull/1#discussion_r67843887","pull_request_url":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls/comments/67843887"},"html":{"href":"https://github.com/leshaduduk/D3Investigation/pull/1#discussion_r67843887"},"pull_request":{"href":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls/1","id":73598300,"html_url":"https://github.com/leshaduduk/D3Investigation/pull/1","diff_url":"https://github.com/leshaduduk/D3Investigation/pull/1.diff","patch_url":"https://github.com/leshaduduk/D3Investigation/pull/1.patch","issue_url":"https://api.github.com/repos/leshaduduk/D3Investigation/issues/1","number":1,"state":"open","locked":false,"title":"Some features of D3","user":{"login":"leshaduduk","id":10134005,"avatar_url":"https://avatars.githubusercontent.com/u/10134005?v=3","gravatar_id":"","url":"https://api.github.com/users/leshaduduk","html_url":"https://github.com/leshaduduk","followers_url":"https://api.github.com/users/leshaduduk/followers","following_url":"https://api.github.com/users/leshaduduk/following{/other_user}","gists_url":"https://api.github.com/users/leshaduduk/gists{/gist_id}","starred_url":"https://api.github.com/users/leshaduduk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leshaduduk/subscriptions","organizations_url":"https://api.github.com/users/leshaduduk/orgs","repos_url":"https://api.github.com/users/leshaduduk/repos","events_url":"https://api.github.com/users/leshaduduk/events{/privacy}","received_events_url":"https://api.github.com/users/leshaduduk/received_events","type":"User","site_admin":false},"body":"@demon4242, review this pull request, please.","created_at":"2016-06-13T15:47:56Z","updated_at":"2016-06-21T10:25:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls/1/commits","review_comments_url":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls/1/comments","review_comment_url":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leshaduduk/D3Investigation/issues/1/comments","statuses_url":"https://api.github.com/repos/leshaduduk/D3Investigation/statuses/a14440ebdb15b66dc16baae73f5ae88f97119cf7","head":{"label":"leshaduduk:develop","ref":"develop","sha":"a14440ebdb15b66dc16baae73f5ae88f97119cf7","user":{"login":"leshaduduk","id":10134005,"avatar_url":"https://avatars.githubusercontent.com/u/10134005?v=3","gravatar_id":"","url":"https://api.github.com/users/leshaduduk","html_url":"https://github.com/leshaduduk","followers_url":"https://api.github.com/users/leshaduduk/followers","following_url":"https://api.github.com/users/leshaduduk/following{/other_user}","gists_url":"https://api.github.com/users/leshaduduk/gists{/gist_id}","starred_url":"https://api.github.com/users/leshaduduk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leshaduduk/subscriptions","organizations_url":"https://api.github.com/users/leshaduduk/orgs","repos_url":"https://api.github.com/users/leshaduduk/repos","events_url":"https://api.github.com/users/leshaduduk/events{/privacy}","received_events_url":"https://api.github.com/users/leshaduduk/received_events","type":"User","site_admin":false},"repo":{"id":60796808,"name":"D3Investigation","full_name":"leshaduduk/D3Investigation","owner":{"login":"leshaduduk","id":10134005,"avatar_url":"https://avatars.githubusercontent.com/u/10134005?v=3","gravatar_id":"","url":"https://api.github.com/users/leshaduduk","html_url":"https://github.com/leshaduduk","followers_url":"https://api.github.com/users/leshaduduk/followers","following_url":"https://api.github.com/users/leshaduduk/following{/other_user}","gists_url":"https://api.github.com/users/leshaduduk/gists{/gist_id}","starred_url":"https://api.github.com/users/leshaduduk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leshaduduk/subscriptions","organizations_url":"https://api.github.com/users/leshaduduk/orgs","repos_url":"https://api.github.com/users/leshaduduk/repos","events_url":"https://api.github.com/users/leshaduduk/events{/privacy}","received_events_url":"https://api.github.com/users/leshaduduk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leshaduduk/D3Investigation","description":"","fork":false,"url":"https://api.github.com/repos/leshaduduk/D3Investigation","forks_url":"https://api.github.com/repos/leshaduduk/D3Investigation/forks","keys_url":"https://api.github.com/repos/leshaduduk/D3Investigation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leshaduduk/D3Investigation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leshaduduk/D3Investigation/teams","hooks_url":"https://api.github.com/repos/leshaduduk/D3Investigation/hooks","issue_events_url":"https://api.github.com/repos/leshaduduk/D3Investigation/issues/events{/number}","events_url":"https://api.github.com/repos/leshaduduk/D3Investigation/events","assignees_url":"https://api.github.com/repos/leshaduduk/D3Investigation/assignees{/user}","branches_url":"https://api.github.com/repos/leshaduduk/D3Investigation/branches{/branch}","tags_url":"https://api.github.com/repos/leshaduduk/D3Investigation/tags","blobs_url":"https://api.github.com/repos/leshaduduk/D3Investigation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leshaduduk/D3Investigation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leshaduduk/D3Investigation/git/refs{/sha}","trees_url":"https://api.github.com/repos/leshaduduk/D3Investigation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leshaduduk/D3Investigation/statuses/{sha}","languages_url":"https://api.github.com/repos/leshaduduk/D3Investigation/languages","stargazers_url":"https://api.github.com/repos/leshaduduk/D3Investigation/stargazers","contributors_url":"https://api.github.com/repos/leshaduduk/D3Investigation/contributors","subscribers_url":"https://api.github.com/repos/leshaduduk/D3Investigation/subscribers","subscription_url":"https://api.github.com/repos/leshaduduk/D3Investigation/subscription","commits_url":"https://api.github.com/repos/leshaduduk/D3Investigation/commits{/sha}","git_commits_url":"https://api.github.com/repos/leshaduduk/D3Investigation/git/commits{/sha}","comments_url":"https://api.github.com/repos/leshaduduk/D3Investigation/comments{/number}","issue_comment_url":"https://api.github.com/repos/leshaduduk/D3Investigation/issues/comments{/number}","contents_url":"https://api.github.com/repos/leshaduduk/D3Investigation/contents/{+path}","compare_url":"https://api.github.com/repos/leshaduduk/D3Investigation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leshaduduk/D3Investigation/merges","archive_url":"https://api.github.com/repos/leshaduduk/D3Investigation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leshaduduk/D3Investigation/downloads","issues_url":"https://api.github.com/repos/leshaduduk/D3Investigation/issues{/number}","pulls_url":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls{/number}","milestones_url":"https://api.github.com/repos/leshaduduk/D3Investigation/milestones{/number}","notifications_url":"https://api.github.com/repos/leshaduduk/D3Investigation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leshaduduk/D3Investigation/labels{/name}","releases_url":"https://api.github.com/repos/leshaduduk/D3Investigation/releases{/id}","deployments_url":"https://api.github.com/repos/leshaduduk/D3Investigation/deployments","created_at":"2016-06-09T18:17:33Z","updated_at":"2016-06-10T08:11:37Z","pushed_at":"2016-06-13T15:47:56Z","git_url":"git://github.com/leshaduduk/D3Investigation.git","ssh_url":"git@github.com:leshaduduk/D3Investigation.git","clone_url":"https://github.com/leshaduduk/D3Investigation.git","svn_url":"https://github.com/leshaduduk/D3Investigation","homepage":null,"size":9,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"leshaduduk:master","ref":"master","sha":"69cf7d9e2afc50849ed6a660469362834c911ddc","user":{"login":"leshaduduk","id":10134005,"avatar_url":"https://avatars.githubusercontent.com/u/10134005?v=3","gravatar_id":"","url":"https://api.github.com/users/leshaduduk","html_url":"https://github.com/leshaduduk","followers_url":"https://api.github.com/users/leshaduduk/followers","following_url":"https://api.github.com/users/leshaduduk/following{/other_user}","gists_url":"https://api.github.com/users/leshaduduk/gists{/gist_id}","starred_url":"https://api.github.com/users/leshaduduk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leshaduduk/subscriptions","organizations_url":"https://api.github.com/users/leshaduduk/orgs","repos_url":"https://api.github.com/users/leshaduduk/repos","events_url":"https://api.github.com/users/leshaduduk/events{/privacy}","received_events_url":"https://api.github.com/users/leshaduduk/received_events","type":"User","site_admin":false},"repo":{"id":60796808,"name":"D3Investigation","full_name":"leshaduduk/D3Investigation","owner":{"login":"leshaduduk","id":10134005,"avatar_url":"https://avatars.githubusercontent.com/u/10134005?v=3","gravatar_id":"","url":"https://api.github.com/users/leshaduduk","html_url":"https://github.com/leshaduduk","followers_url":"https://api.github.com/users/leshaduduk/followers","following_url":"https://api.github.com/users/leshaduduk/following{/other_user}","gists_url":"https://api.github.com/users/leshaduduk/gists{/gist_id}","starred_url":"https://api.github.com/users/leshaduduk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leshaduduk/subscriptions","organizations_url":"https://api.github.com/users/leshaduduk/orgs","repos_url":"https://api.github.com/users/leshaduduk/repos","events_url":"https://api.github.com/users/leshaduduk/events{/privacy}","received_events_url":"https://api.github.com/users/leshaduduk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leshaduduk/D3Investigation","description":"","fork":false,"url":"https://api.github.com/repos/leshaduduk/D3Investigation","forks_url":"https://api.github.com/repos/leshaduduk/D3Investigation/forks","keys_url":"https://api.github.com/repos/leshaduduk/D3Investigation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leshaduduk/D3Investigation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leshaduduk/D3Investigation/teams","hooks_url":"https://api.github.com/repos/leshaduduk/D3Investigation/hooks","issue_events_url":"https://api.github.com/repos/leshaduduk/D3Investigation/issues/events{/number}","events_url":"https://api.github.com/repos/leshaduduk/D3Investigation/events","assignees_url":"https://api.github.com/repos/leshaduduk/D3Investigation/assignees{/user}","branches_url":"https://api.github.com/repos/leshaduduk/D3Investigation/branches{/branch}","tags_url":"https://api.github.com/repos/leshaduduk/D3Investigation/tags","blobs_url":"https://api.github.com/repos/leshaduduk/D3Investigation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leshaduduk/D3Investigation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leshaduduk/D3Investigation/git/refs{/sha}","trees_url":"https://api.github.com/repos/leshaduduk/D3Investigation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leshaduduk/D3Investigation/statuses/{sha}","languages_url":"https://api.github.com/repos/leshaduduk/D3Investigation/languages","stargazers_url":"https://api.github.com/repos/leshaduduk/D3Investigation/stargazers","contributors_url":"https://api.github.com/repos/leshaduduk/D3Investigation/contributors","subscribers_url":"https://api.github.com/repos/leshaduduk/D3Investigation/subscribers","subscription_url":"https://api.github.com/repos/leshaduduk/D3Investigation/subscription","commits_url":"https://api.github.com/repos/leshaduduk/D3Investigation/commits{/sha}","git_commits_url":"https://api.github.com/repos/leshaduduk/D3Investigation/git/commits{/sha}","comments_url":"https://api.github.com/repos/leshaduduk/D3Investigation/comments{/number}","issue_comment_url":"https://api.github.com/repos/leshaduduk/D3Investigation/issues/comments{/number}","contents_url":"https://api.github.com/repos/leshaduduk/D3Investigation/contents/{+path}","compare_url":"https://api.github.com/repos/leshaduduk/D3Investigation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leshaduduk/D3Investigation/merges","archive_url":"https://api.github.com/repos/leshaduduk/D3Investigation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leshaduduk/D3Investigation/downloads","issues_url":"https://api.github.com/repos/leshaduduk/D3Investigation/issues{/number}","pulls_url":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls{/number}","milestones_url":"https://api.github.com/repos/leshaduduk/D3Investigation/milestones{/number}","notifications_url":"https://api.github.com/repos/leshaduduk/D3Investigation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leshaduduk/D3Investigation/labels{/name}","releases_url":"https://api.github.com/repos/leshaduduk/D3Investigation/releases{/id}","deployments_url":"https://api.github.com/repos/leshaduduk/D3Investigation/deployments","created_at":"2016-06-09T18:17:33Z","updated_at":"2016-06-10T08:11:37Z","pushed_at":"2016-06-13T15:47:56Z","git_url":"git://github.com/leshaduduk/D3Investigation.git","ssh_url":"git@github.com:leshaduduk/D3Investigation.git","clone_url":"https://github.com/leshaduduk/D3Investigation.git","svn_url":"https://github.com/leshaduduk/D3Investigation","homepage":null,"size":9,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls/1"},"html":{"href":"https://github.com/leshaduduk/D3Investigation/pull/1"},"issue":{"href":"https://api.github.com/repos/leshaduduk/D3Investigation/issues/1"},"comments":{"href":"https://api.github.com/repos/leshaduduk/D3Investigation/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leshaduduk/D3Investigation/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/leshaduduk/D3Investigation/statuses/a14440ebdb15b66dc16baae73f5ae88f97119cf7"}}}}
{"actor":{"display_login":"demon4242"}}