Fix composer attribute

* removes line break and multiple white space in composer attribute
Insert pie charts in basic data

* Use functions to print data in rst files
Insert scatter charts in basic data