{"action":"created","comment":{"url":"https://api.github.com/repos/codesuki/react-d3-components/pulls/comments/41819749","id":41819749,"diff_hunk":"@@ -495,5 +512,30 @@ React.render(<PieChart\n \n ![piechart](http://codesuki.github.io/react-d3-components/piechart.png)\n \n+### Waveform\n+The waveform chart displays a sequence of values as they were part of an audio waveform.\n+The values are centered on the horizontale axis and reflected along the horizontal origin.\n+As it is now, we do expect only values in the range [0,1].\n+\n+The graph can accept a colorScale parameter, that is an array of value in the range [0,width], where width is the width of the graph.\n+Following an example of gradient from white to black for a waveform of width = 200.\n+\n+```javascript\n+colorScale={ d3.scale.linear()\n+                    .domain([0,200])\n+                    .range(['#fff','#000'])}\n+```\n+The graph is responsive and adopt a viewBox strategy to resize the graph maintaining the proportions.\n+We also adopt subSampling in order to maintain the graph rapresentation of the waveform.","path":"README.md","position":55,"original_position":55,"commit_id":"e36b036027b3b1c32b591110d5025dc41ec84765","original_commit_id":"e36b036027b3b1c32b591110d5025dc41ec84765","user":{"login":"codesuki","id":5276006,"avatar_url":"https://avatars.githubusercontent.com/u/5276006?v=3","gravatar_id":"","url":"https://api.github.com/users/codesuki","html_url":"https://github.com/codesuki","followers_url":"https://api.github.com/users/codesuki/followers","following_url":"https://api.github.com/users/codesuki/following{/other_user}","gists_url":"https://api.github.com/users/codesuki/gists{/gist_id}","starred_url":"https://api.github.com/users/codesuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codesuki/subscriptions","organizations_url":"https://api.github.com/users/codesuki/orgs","repos_url":"https://api.github.com/users/codesuki/repos","events_url":"https://api.github.com/users/codesuki/events{/privacy}","received_events_url":"https://api.github.com/users/codesuki/received_events","type":"User","site_admin":false},"body":"small typo here: rapresentation \r\ncan fix later though :)","created_at":"2015-10-13T01:47:46Z","updated_at":"2015-10-13T01:47:46Z","html_url":"https://github.com/codesuki/react-d3-components/pull/63#discussion_r41819749","pull_request_url":"https://api.github.com/repos/codesuki/react-d3-components/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/codesuki/react-d3-components/pulls/comments/41819749"},"html":{"href":"https://github.com/codesuki/react-d3-components/pull/63#discussion_r41819749"},"pull_request":{"href":"https://api.github.com/repos/codesuki/react-d3-components/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/codesuki/react-d3-components/pulls/63","id":47360330,"html_url":"https://github.com/codesuki/react-d3-components/pull/63","diff_url":"https://github.com/codesuki/react-d3-components/pull/63.diff","patch_url":"https://github.com/codesuki/react-d3-components/pull/63.patch","issue_url":"https://api.github.com/repos/codesuki/react-d3-components/issues/63","number":63,"state":"open","locked":false,"title":"Documentation Update","user":{"login":"nicolabortignon","id":883459,"avatar_url":"https://avatars.githubusercontent.com/u/883459?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolabortignon","html_url":"https://github.com/nicolabortignon","followers_url":"https://api.github.com/users/nicolabortignon/followers","following_url":"https://api.github.com/users/nicolabortignon/following{/other_user}","gists_url":"https://api.github.com/users/nicolabortignon/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolabortignon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolabortignon/subscriptions","organizations_url":"https://api.github.com/users/nicolabortignon/orgs","repos_url":"https://api.github.com/users/nicolabortignon/repos","events_url":"https://api.github.com/users/nicolabortignon/events{/privacy}","received_events_url":"https://api.github.com/users/nicolabortignon/received_events","type":"User","site_admin":false},"body":"Added quick guide on how to build the project.\n\nStarted the documentation regarding the waveform graph.\n\n","created_at":"2015-10-11T05:10:58Z","updated_at":"2015-10-13T01:47:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6020c652450de6fb028ca674dc74f67aa07e1965","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codesuki/react-d3-components/pulls/63/commits","review_comments_url":"https://api.github.com/repos/codesuki/react-d3-components/pulls/63/comments","review_comment_url":"https://api.github.com/repos/codesuki/react-d3-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codesuki/react-d3-components/issues/63/comments","statuses_url":"https://api.github.com/repos/codesuki/react-d3-components/statuses/e36b036027b3b1c32b591110d5025dc41ec84765","head":{"label":"nicolabortignon:documentationUpdate","ref":"documentationUpdate","sha":"e36b036027b3b1c32b591110d5025dc41ec84765","user":{"login":"nicolabortignon","id":883459,"avatar_url":"https://avatars.githubusercontent.com/u/883459?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolabortignon","html_url":"https://github.com/nicolabortignon","followers_url":"https://api.github.com/users/nicolabortignon/followers","following_url":"https://api.github.com/users/nicolabortignon/following{/other_user}","gists_url":"https://api.github.com/users/nicolabortignon/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolabortignon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolabortignon/subscriptions","organizations_url":"https://api.github.com/users/nicolabortignon/orgs","repos_url":"https://api.github.com/users/nicolabortignon/repos","events_url":"https://api.github.com/users/nicolabortignon/events{/privacy}","received_events_url":"https://api.github.com/users/nicolabortignon/received_events","type":"User","site_admin":false},"repo":{"id":43468328,"name":"react-d3-components","full_name":"nicolabortignon/react-d3-components","owner":{"login":"nicolabortignon","id":883459,"avatar_url":"https://avatars.githubusercontent.com/u/883459?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolabortignon","html_url":"https://github.com/nicolabortignon","followers_url":"https://api.github.com/users/nicolabortignon/followers","following_url":"https://api.github.com/users/nicolabortignon/following{/other_user}","gists_url":"https://api.github.com/users/nicolabortignon/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolabortignon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolabortignon/subscriptions","organizations_url":"https://api.github.com/users/nicolabortignon/orgs","repos_url":"https://api.github.com/users/nicolabortignon/repos","events_url":"https://api.github.com/users/nicolabortignon/events{/privacy}","received_events_url":"https://api.github.com/users/nicolabortignon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nicolabortignon/react-d3-components","description":"D3 Components for React","fork":true,"url":"https://api.github.com/repos/nicolabortignon/react-d3-components","forks_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/forks","keys_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/teams","hooks_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/hooks","issue_events_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/issues/events{/number}","events_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/events","assignees_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/assignees{/user}","branches_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/branches{/branch}","tags_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/tags","blobs_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/statuses/{sha}","languages_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/languages","stargazers_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/stargazers","contributors_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/contributors","subscribers_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/subscribers","subscription_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/subscription","commits_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/contents/{+path}","compare_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/merges","archive_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/downloads","issues_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/issues{/number}","pulls_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/pulls{/number}","milestones_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/milestones{/number}","notifications_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/labels{/name}","releases_url":"https://api.github.com/repos/nicolabortignon/react-d3-components/releases{/id}","created_at":"2015-10-01T00:11:19Z","updated_at":"2015-10-01T00:17:28Z","pushed_at":"2015-10-11T05:10:58Z","git_url":"git://github.com/nicolabortignon/react-d3-components.git","ssh_url":"git@github.com:nicolabortignon/react-d3-components.git","clone_url":"https://github.com/nicolabortignon/react-d3-components.git","svn_url":"https://github.com/nicolabortignon/react-d3-components","homepage":"http://codesuki.github.io/react-d3-components/example.html","size":1260,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"codesuki:master","ref":"master","sha":"86c3df78b985ecc87547853a8a887d1f33a5c900","user":{"login":"codesuki","id":5276006,"avatar_url":"https://avatars.githubusercontent.com/u/5276006?v=3","gravatar_id":"","url":"https://api.github.com/users/codesuki","html_url":"https://github.com/codesuki","followers_url":"https://api.github.com/users/codesuki/followers","following_url":"https://api.github.com/users/codesuki/following{/other_user}","gists_url":"https://api.github.com/users/codesuki/gists{/gist_id}","starred_url":"https://api.github.com/users/codesuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codesuki/subscriptions","organizations_url":"https://api.github.com/users/codesuki/orgs","repos_url":"https://api.github.com/users/codesuki/repos","events_url":"https://api.github.com/users/codesuki/events{/privacy}","received_events_url":"https://api.github.com/users/codesuki/received_events","type":"User","site_admin":false},"repo":{"id":30388469,"name":"react-d3-components","full_name":"codesuki/react-d3-components","owner":{"login":"codesuki","id":5276006,"avatar_url":"https://avatars.githubusercontent.com/u/5276006?v=3","gravatar_id":"","url":"https://api.github.com/users/codesuki","html_url":"https://github.com/codesuki","followers_url":"https://api.github.com/users/codesuki/followers","following_url":"https://api.github.com/users/codesuki/following{/other_user}","gists_url":"https://api.github.com/users/codesuki/gists{/gist_id}","starred_url":"https://api.github.com/users/codesuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codesuki/subscriptions","organizations_url":"https://api.github.com/users/codesuki/orgs","repos_url":"https://api.github.com/users/codesuki/repos","events_url":"https://api.github.com/users/codesuki/events{/privacy}","received_events_url":"https://api.github.com/users/codesuki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/codesuki/react-d3-components","description":"D3 Components for React","fork":false,"url":"https://api.github.com/repos/codesuki/react-d3-components","forks_url":"https://api.github.com/repos/codesuki/react-d3-components/forks","keys_url":"https://api.github.com/repos/codesuki/react-d3-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codesuki/react-d3-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codesuki/react-d3-components/teams","hooks_url":"https://api.github.com/repos/codesuki/react-d3-components/hooks","issue_events_url":"https://api.github.com/repos/codesuki/react-d3-components/issues/events{/number}","events_url":"https://api.github.com/repos/codesuki/react-d3-components/events","assignees_url":"https://api.github.com/repos/codesuki/react-d3-components/assignees{/user}","branches_url":"https://api.github.com/repos/codesuki/react-d3-components/branches{/branch}","tags_url":"https://api.github.com/repos/codesuki/react-d3-components/tags","blobs_url":"https://api.github.com/repos/codesuki/react-d3-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codesuki/react-d3-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codesuki/react-d3-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/codesuki/react-d3-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codesuki/react-d3-components/statuses/{sha}","languages_url":"https://api.github.com/repos/codesuki/react-d3-components/languages","stargazers_url":"https://api.github.com/repos/codesuki/react-d3-components/stargazers","contributors_url":"https://api.github.com/repos/codesuki/react-d3-components/contributors","subscribers_url":"https://api.github.com/repos/codesuki/react-d3-components/subscribers","subscription_url":"https://api.github.com/repos/codesuki/react-d3-components/subscription","commits_url":"https://api.github.com/repos/codesuki/react-d3-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/codesuki/react-d3-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/codesuki/react-d3-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/codesuki/react-d3-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/codesuki/react-d3-components/contents/{+path}","compare_url":"https://api.github.com/repos/codesuki/react-d3-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codesuki/react-d3-components/merges","archive_url":"https://api.github.com/repos/codesuki/react-d3-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codesuki/react-d3-components/downloads","issues_url":"https://api.github.com/repos/codesuki/react-d3-components/issues{/number}","pulls_url":"https://api.github.com/repos/codesuki/react-d3-components/pulls{/number}","milestones_url":"https://api.github.com/repos/codesuki/react-d3-components/milestones{/number}","notifications_url":"https://api.github.com/repos/codesuki/react-d3-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codesuki/react-d3-components/labels{/name}","releases_url":"https://api.github.com/repos/codesuki/react-d3-components/releases{/id}","created_at":"2015-02-06T01:28:27Z","updated_at":"2015-10-13T00:43:11Z","pushed_at":"2015-10-11T05:10:59Z","git_url":"git://github.com/codesuki/react-d3-components.git","ssh_url":"git@github.com:codesuki/react-d3-components.git","clone_url":"https://github.com/codesuki/react-d3-components.git","svn_url":"https://github.com/codesuki/react-d3-components","homepage":"http://codesuki.github.io/react-d3-components/example.html","size":2257,"stargazers_count":670,"watchers_count":670,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":54,"mirror_url":null,"open_issues_count":28,"forks":54,"open_issues":28,"watchers":670,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codesuki/react-d3-components/pulls/63"},"html":{"href":"https://github.com/codesuki/react-d3-components/pull/63"},"issue":{"href":"https://api.github.com/repos/codesuki/react-d3-components/issues/63"},"comments":{"href":"https://api.github.com/repos/codesuki/react-d3-components/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/codesuki/react-d3-components/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/codesuki/react-d3-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codesuki/react-d3-components/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/codesuki/react-d3-components/statuses/e36b036027b3b1c32b591110d5025dc41ec84765"}}}}