added switch statement to render multiple charts

-there is now 1 chart for each question
-suggest standardizing questions and survey format to keep code simpler