I am working on drawing polygon while using React. Before using React, what i need to do is creating svg Polygon element by .createElementNS and .appendChild inside a for lo