Store all data in svg, not in separate arrays