Fixed svg generation had missing data attribute.