http://www.pindari.com/svg-arc.html
https://jsfiddle.net/8robssa0/
http://jsbin.com/giyotacuxu/edit?js,output