https://jsfiddle.net/83qpktrx/2/
tagName에 생성하고자 하는 태그명(svg, path, circle...)을 지정하여 생성.
var el = document.createElementNS('http://www.w3.org/2000/svg', tagName);