Limiting D3 treemap Panning
<p>I have implemented a zooming treemap using D3.js. The treemap can be zoomed and panned I have limited the zooming function but cant limit the pan of the map. I want the panning to be only be inside the map rather than outside of it.</p>

<p>This is the current working implementation of my treemap : <a href="http://www.advbizclan.com/treemapt/" rel="nofollow">http://www.advbizclan.com/treemapt/</a></p>

<p>I want it like the zooming function which is only limited to the map the panning should also be limited only to the map.</p>