-
…in reply to @ArpitCodes
ArpitCodes works fine for me, I tried in firefox and chrome and there seems to be a slight difference of decimals. In my case, the svg was not adjusted according to it's parent's width so I had to explicitly set the width to 100%.