title: How do you use TypeScript's SVG Library?
body: <p>I'm new to TypeScript and JavaScript, although not completely new to programming. I wondered if someone could help me with a short piece of TypeScript code showing how you would use TypeScripts SVG library to draw. So, for example, should I use SVGRectangle or SVGRectangleElement and how do I use them?</p>
  
  <p>The only example I can find on the TypeScript site uses D3 but I would like to use the built in SVG library.</p>