applied iterative p.classes and p#ids
created svg groups with classes and ids
text elements inside parent g elements?