Edit: Not sure how to combine pack with force, but that could be a solution
I started working yesterday on a D3 visualization, and I'm having trouble getting everything to fit onto the screen.
Sometimes things go off the screen, and sometimes half of a circle is on the screen and half is off the screen.
Here's a link where you can look at the visualization
http://codepen.io/anon/full/unkFc
Here's the actual code
http://codepen.io/anon/pen/unkFc
I think the issue may be that i'm using window size for dimensions, but perhaps the visualization isn't displaying in the entire window?
Note that I have codepen because I need this to work in IE8 and JSFiddle doesn't support that