{"action":"closed","number":2675,"pull_request":{"url":"https://api.github.com/repos/mbostock/d3/pulls/2675","id":53367197,"html_url":"https://github.com/mbostock/d3/pull/2675","diff_url":"https://github.com/mbostock/d3/pull/2675.diff","patch_url":"https://github.com/mbostock/d3/pull/2675.patch","issue_url":"https://api.github.com/repos/mbostock/d3/issues/2675","number":2675,"state":"closed","locked":false,"title":"Remove trailing 0 error from chord group value","user":{"login":"zhoux10","id":6097953,"avatar_url":"https://avatars.githubusercontent.com/u/6097953?v=3","gravatar_id":"","url":"https://api.github.com/users/zhoux10","html_url":"https://github.com/zhoux10","followers_url":"https://api.github.com/users/zhoux10/followers","following_url":"https://api.github.com/users/zhoux10/following{/other_user}","gists_url":"https://api.github.com/users/zhoux10/gists{/gist_id}","starred_url":"https://api.github.com/users/zhoux10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhoux10/subscriptions","organizations_url":"https://api.github.com/users/zhoux10/orgs","repos_url":"https://api.github.com/users/zhoux10/repos","events_url":"https://api.github.com/users/zhoux10/events{/privacy}","received_events_url":"https://api.github.com/users/zhoux10/received_events","type":"User","site_admin":false},"body":"- (x - x0) / k sometimes provides a value with trailing 0's due to division. This means groups that have an integer value appear to be a decimal number\r\n\r\nExample of problem below:\r\n![image](https://cloud.githubusercontent.com/assets/6097953/11739551/33079cd8-9fa1-11e5-8d98-117c850d9de2.png)\r\n\r\nWith changes:\r\n![image](https://cloud.githubusercontent.com/assets/6097953/11739563/4f6ea2ae-9fa1-11e5-9530-20e0d41414d5.png)\r\n","created_at":"2015-12-11T08:51:48Z","updated_at":"2015-12-14T19:17:06Z","closed_at":"2015-12-14T19:17:06Z","merged_at":"2015-12-14T19:17:06Z","merge_commit_sha":"f224666639cdd2af8d20f5654e51b409f700758e","assignee":null,"milestone":{"url":"https://api.github.com/repos/mbostock/d3/milestones/38","html_url":"https://github.com/mbostock/d3/milestones/3.5.11","labels_url":"https://api.github.com/repos/mbostock/d3/milestones/38/labels","id":1434358,"number":38,"title":"3.5.11","description":"","creator":{"login":"mbostock","id":230541,"avatar_url":"https://avatars.githubusercontent.com/u/230541?v=3","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-11-30T02:42:48Z","updated_at":"2015-12-14T19:17:06Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/mbostock/d3/pulls/2675/commits","review_comments_url":"https://api.github.com/repos/mbostock/d3/pulls/2675/comments","review_comment_url":"https://api.github.com/repos/mbostock/d3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mbostock/d3/issues/2675/comments","statuses_url":"https://api.github.com/repos/mbostock/d3/statuses/7cb4dae9b6413066c32d65cfaa3734a038afe94a","head":{"label":"zhoux10:chord","ref":"chord","sha":"7cb4dae9b6413066c32d65cfaa3734a038afe94a","user":{"login":"zhoux10","id":6097953,"avatar_url":"https://avatars.githubusercontent.com/u/6097953?v=3","gravatar_id":"","url":"https://api.github.com/users/zhoux10","html_url":"https://github.com/zhoux10","followers_url":"https://api.github.com/users/zhoux10/followers","following_url":"https://api.github.com/users/zhoux10/following{/other_user}","gists_url":"https://api.github.com/users/zhoux10/gists{/gist_id}","starred_url":"https://api.github.com/users/zhoux10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhoux10/subscriptions","organizations_url":"https://api.github.com/users/zhoux10/orgs","repos_url":"https://api.github.com/users/zhoux10/repos","events_url":"https://api.github.com/users/zhoux10/events{/privacy}","received_events_url":"https://api.github.com/users/zhoux10/received_events","type":"User","site_admin":false},"repo":{"id":33109432,"name":"d3","full_name":"zhoux10/d3","owner":{"login":"zhoux10","id":6097953,"avatar_url":"https://avatars.githubusercontent.com/u/6097953?v=3","gravatar_id":"","url":"https://api.github.com/users/zhoux10","html_url":"https://github.com/zhoux10","followers_url":"https://api.github.com/users/zhoux10/followers","following_url":"https://api.github.com/users/zhoux10/following{/other_user}","gists_url":"https://api.github.com/users/zhoux10/gists{/gist_id}","starred_url":"https://api.github.com/users/zhoux10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhoux10/subscriptions","organizations_url":"https://api.github.com/users/zhoux10/orgs","repos_url":"https://api.github.com/users/zhoux10/repos","events_url":"https://api.github.com/users/zhoux10/events{/privacy}","received_events_url":"https://api.github.com/users/zhoux10/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhoux10/d3","description":"A JavaScript visualization library for HTML and SVG.","fork":true,"url":"https://api.github.com/repos/zhoux10/d3","forks_url":"https://api.github.com/repos/zhoux10/d3/forks","keys_url":"https://api.github.com/repos/zhoux10/d3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhoux10/d3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhoux10/d3/teams","hooks_url":"https://api.github.com/repos/zhoux10/d3/hooks","issue_events_url":"https://api.github.com/repos/zhoux10/d3/issues/events{/number}","events_url":"https://api.github.com/repos/zhoux10/d3/events","assignees_url":"https://api.github.com/repos/zhoux10/d3/assignees{/user}","branches_url":"https://api.github.com/repos/zhoux10/d3/branches{/branch}","tags_url":"https://api.github.com/repos/zhoux10/d3/tags","blobs_url":"https://api.github.com/repos/zhoux10/d3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhoux10/d3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhoux10/d3/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhoux10/d3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhoux10/d3/statuses/{sha}","languages_url":"https://api.github.com/repos/zhoux10/d3/languages","stargazers_url":"https://api.github.com/repos/zhoux10/d3/stargazers","contributors_url":"https://api.github.com/repos/zhoux10/d3/contributors","subscribers_url":"https://api.github.com/repos/zhoux10/d3/subscribers","subscription_url":"https://api.github.com/repos/zhoux10/d3/subscription","commits_url":"https://api.github.com/repos/zhoux10/d3/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhoux10/d3/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhoux10/d3/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhoux10/d3/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhoux10/d3/contents/{+path}","compare_url":"https://api.github.com/repos/zhoux10/d3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhoux10/d3/merges","archive_url":"https://api.github.com/repos/zhoux10/d3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhoux10/d3/downloads","issues_url":"https://api.github.com/repos/zhoux10/d3/issues{/number}","pulls_url":"https://api.github.com/repos/zhoux10/d3/pulls{/number}","milestones_url":"https://api.github.com/repos/zhoux10/d3/milestones{/number}","notifications_url":"https://api.github.com/repos/zhoux10/d3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhoux10/d3/labels{/name}","releases_url":"https://api.github.com/repos/zhoux10/d3/releases{/id}","created_at":"2015-03-30T07:40:22Z","updated_at":"2015-03-30T07:40:43Z","pushed_at":"2015-12-11T08:47:47Z","git_url":"git://github.com/zhoux10/d3.git","ssh_url":"git@github.com:zhoux10/d3.git","clone_url":"https://github.com/zhoux10/d3.git","svn_url":"https://github.com/zhoux10/d3","homepage":"http://d3js.org","size":38808,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mbostock:master","ref":"master","sha":"b516d77fb8566b576088e73410437494717ada26","user":{"login":"mbostock","id":230541,"avatar_url":"https://avatars.githubusercontent.com/u/230541?v=3","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"repo":{"id":943149,"name":"d3","full_name":"mbostock/d3","owner":{"login":"mbostock","id":230541,"avatar_url":"https://avatars.githubusercontent.com/u/230541?v=3","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbostock/d3","description":"A JavaScript visualization library for HTML and SVG.","fork":false,"url":"https://api.github.com/repos/mbostock/d3","forks_url":"https://api.github.com/repos/mbostock/d3/forks","keys_url":"https://api.github.com/repos/mbostock/d3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbostock/d3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbostock/d3/teams","hooks_url":"https://api.github.com/repos/mbostock/d3/hooks","issue_events_url":"https://api.github.com/repos/mbostock/d3/issues/events{/number}","events_url":"https://api.github.com/repos/mbostock/d3/events","assignees_url":"https://api.github.com/repos/mbostock/d3/assignees{/user}","branches_url":"https://api.github.com/repos/mbostock/d3/branches{/branch}","tags_url":"https://api.github.com/repos/mbostock/d3/tags","blobs_url":"https://api.github.com/repos/mbostock/d3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbostock/d3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbostock/d3/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbostock/d3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbostock/d3/statuses/{sha}","languages_url":"https://api.github.com/repos/mbostock/d3/languages","stargazers_url":"https://api.github.com/repos/mbostock/d3/stargazers","contributors_url":"https://api.github.com/repos/mbostock/d3/contributors","subscribers_url":"https://api.github.com/repos/mbostock/d3/subscribers","subscription_url":"https://api.github.com/repos/mbostock/d3/subscription","commits_url":"https://api.github.com/repos/mbostock/d3/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbostock/d3/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbostock/d3/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbostock/d3/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbostock/d3/contents/{+path}","compare_url":"https://api.github.com/repos/mbostock/d3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbostock/d3/merges","archive_url":"https://api.github.com/repos/mbostock/d3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbostock/d3/downloads","issues_url":"https://api.github.com/repos/mbostock/d3/issues{/number}","pulls_url":"https://api.github.com/repos/mbostock/d3/pulls{/number}","milestones_url":"https://api.github.com/repos/mbostock/d3/milestones{/number}","notifications_url":"https://api.github.com/repos/mbostock/d3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbostock/d3/labels{/name}","releases_url":"https://api.github.com/repos/mbostock/d3/releases{/id}","created_at":"2010-09-27T17:22:42Z","updated_at":"2015-12-14T19:13:50Z","pushed_at":"2015-12-14T19:17:03Z","git_url":"git://github.com/mbostock/d3.git","ssh_url":"git@github.com:mbostock/d3.git","clone_url":"https://github.com/mbostock/d3.git","svn_url":"https://github.com/mbostock/d3","homepage":"https://d3js.org","size":62070,"stargazers_count":44476,"watchers_count":44476,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11829,"mirror_url":null,"open_issues_count":243,"forks":11829,"open_issues":243,"watchers":44476,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mbostock/d3/pulls/2675"},"html":{"href":"https://github.com/mbostock/d3/pull/2675"},"issue":{"href":"https://api.github.com/repos/mbostock/d3/issues/2675"},"comments":{"href":"https://api.github.com/repos/mbostock/d3/issues/2675/comments"},"review_comments":{"href":"https://api.github.com/repos/mbostock/d3/pulls/2675/comments"},"review_comment":{"href":"https://api.github.com/repos/mbostock/d3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mbostock/d3/pulls/2675/commits"},"statuses":{"href":"https://api.github.com/repos/mbostock/d3/statuses/7cb4dae9b6413066c32d65cfaa3734a038afe94a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mbostock","id":230541,"avatar_url":"https://avatars.githubusercontent.com/u/230541?v=3","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}