title: How to resize polygon in svg?
body: <p>I am trying to resize the svg polygon elements, depending on the svg element.</p>
  
  <p>Suppose I have an svg element of width and height of 500 each, but in some cases polygon element x y points will go out of the height and width of the svg element. Is it possible to resize the polygon to fit in the svg element?</p>
  
  <p>Here is my code in jsbin <a href="http://jsbin.com/iXUPeLu/1/" rel="nofollow">http://jsbin.com/iXUPeLu/1/</a> </p>