I am trying to append \'g\' in random locations within an svg. Below is my code. Surprisingly, all the 10 \'g\'s are being drawn on the same position. I specified random pos