Changed svg width and height attributes to a viewbox attribute , so that the svg can be sized according to its parent. Made sure the svg is added to the parent tag of the embedded script when no parent is supplied on addTo().  Make sit also unnecessary to increase font size as the whole svg can be resized