{"action":"created","issue":{"url":"https://api.github.com/repos/jasondavies/d3-cloud/issues/36","labels_url":"https://api.github.com/repos/jasondavies/d3-cloud/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/jasondavies/d3-cloud/issues/36/comments","events_url":"https://api.github.com/repos/jasondavies/d3-cloud/issues/36/events","html_url":"https://github.com/jasondavies/d3-cloud/issues/36","id":31997820,"number":36,"title":"Most important words (highest counts) are excluded if they don't fit","user":{"login":"john-guerra","id":1216843,"avatar_url":"https://avatars.githubusercontent.com/u/1216843?v=3","gravatar_id":"","url":"https://api.github.com/users/john-guerra","html_url":"https://github.com/john-guerra","followers_url":"https://api.github.com/users/john-guerra/followers","following_url":"https://api.github.com/users/john-guerra/following{/other_user}","gists_url":"https://api.github.com/users/john-guerra/gists{/gist_id}","starred_url":"https://api.github.com/users/john-guerra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-guerra/subscriptions","organizations_url":"https://api.github.com/users/john-guerra/orgs","repos_url":"https://api.github.com/users/john-guerra/repos","events_url":"https://api.github.com/users/john-guerra/events{/privacy}","received_events_url":"https://api.github.com/users/john-guerra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-04-22T18:28:26Z","updated_at":"2015-01-26T23:03:51Z","closed_at":null,"body":"Right now the algorithm leaves out words that are too big to fit on the available width/height. This is OK for smaller words that aren't that important, but it also leaves out the most important words on a cloud without any warning.\r\n\r\nhttp://jsfiddle.net/duto_guerra/VNurQ/\r\n\r\nI can think of two solutions:\r\n\r\n1. If the word doesn't fit, draw it at least partially.\r\n2. Adjust the size range to guarantee that the biggest word will always fit\r\n\r\nI was planning on trying to do this myself and send you a pull request, but I would like to hear your preferences and opinion\r\n\r\nJohn"},"comment":{"url":"https://api.github.com/repos/jasondavies/d3-cloud/issues/comments/71557519","html_url":"https://github.com/jasondavies/d3-cloud/issues/36#issuecomment-71557519","issue_url":"https://api.github.com/repos/jasondavies/d3-cloud/issues/36","id":71557519,"user":{"login":"john-guerra","id":1216843,"avatar_url":"https://avatars.githubusercontent.com/u/1216843?v=3","gravatar_id":"","url":"https://api.github.com/users/john-guerra","html_url":"https://github.com/john-guerra","followers_url":"https://api.github.com/users/john-guerra/followers","following_url":"https://api.github.com/users/john-guerra/following{/other_user}","gists_url":"https://api.github.com/users/john-guerra/gists{/gist_id}","starred_url":"https://api.github.com/users/john-guerra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-guerra/subscriptions","organizations_url":"https://api.github.com/users/john-guerra/orgs","repos_url":"https://api.github.com/users/john-guerra/repos","events_url":"https://api.github.com/users/john-guerra/events{/privacy}","received_events_url":"https://api.github.com/users/john-guerra/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T23:03:51Z","updated_at":"2015-01-26T23:03:51Z","body":"Thanks a lot!\r\n\r\nOn Mon Jan 26 2015 at 12:54:19 PM Sanders DeNardi <notifications@github.com>\r\nwrote:\r\n\r\n> @john-guerra <https://github.com/john-guerra> nice job on the overflow\r\n> code.\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/jasondavies/d3-cloud/issues/36#issuecomment-71536165>.\r\n>"}}