Data to dotted in svg