Adding text legend to SVG