{"action":"created","issue":{"url":"https://api.github.com/repos/esbullington/react-d3/issues/204","labels_url":"https://api.github.com/repos/esbullington/react-d3/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/esbullington/react-d3/issues/204/comments","events_url":"https://api.github.com/repos/esbullington/react-d3/issues/204/events","html_url":"https://github.com/esbullington/react-d3/issues/204","id":73187479,"number":204,"title":"Better way to scale","user":{"login":"jmuel","id":1542263,"avatar_url":"https://avatars.githubusercontent.com/u/1542263?v=3","gravatar_id":"","url":"https://api.github.com/users/jmuel","html_url":"https://github.com/jmuel","followers_url":"https://api.github.com/users/jmuel/followers","following_url":"https://api.github.com/users/jmuel/following{/other_user}","gists_url":"https://api.github.com/users/jmuel/gists{/gist_id}","starred_url":"https://api.github.com/users/jmuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmuel/subscriptions","organizations_url":"https://api.github.com/users/jmuel/orgs","repos_url":"https://api.github.com/users/jmuel/repos","events_url":"https://api.github.com/users/jmuel/events{/privacy}","received_events_url":"https://api.github.com/users/jmuel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-05T03:03:07Z","updated_at":"2015-05-05T12:21:21Z","closed_at":null,"body":"I was running into an issue getting the scaling to work easily so I made a few small changes shown [here](https://github.com/jmuel/react-d3/commit/9a25085510f390757c759609068ffcbfaee0f057). This isn't a complete solution so I'd have to go through the use cases that would be affected by this, but it works for my use case and can be generalized."},"comment":{"url":"https://api.github.com/repos/esbullington/react-d3/issues/comments/99064626","html_url":"https://github.com/esbullington/react-d3/issues/204#issuecomment-99064626","issue_url":"https://api.github.com/repos/esbullington/react-d3/issues/204","id":99064626,"user":{"login":"esbullington","id":1138625,"avatar_url":"https://avatars.githubusercontent.com/u/1138625?v=3","gravatar_id":"","url":"https://api.github.com/users/esbullington","html_url":"https://github.com/esbullington","followers_url":"https://api.github.com/users/esbullington/followers","following_url":"https://api.github.com/users/esbullington/following{/other_user}","gists_url":"https://api.github.com/users/esbullington/gists{/gist_id}","starred_url":"https://api.github.com/users/esbullington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esbullington/subscriptions","organizations_url":"https://api.github.com/users/esbullington/orgs","repos_url":"https://api.github.com/users/esbullington/repos","events_url":"https://api.github.com/users/esbullington/events{/privacy}","received_events_url":"https://api.github.com/users/esbullington/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T12:21:21Z","updated_at":"2015-05-05T12:21:21Z","body":"It's a good approach if your parent element scales (like if you're using Bootstrap or some other grid-based CSS system).\r\n\r\nYou know what, we could just make width and height strings and then users could either put the pixel width/height or `100%`.  That would allow users who have a scalable parent element to easily scale, like you are doing.  Would there be any downside to this approach?\r\n\r\nIt's a breaking change, so we'd probably want to merge it to a `v0.4.0` branch.\r\n\r\n"}}