piechart dynamic to questions
commit before modularizing function