Calculating percentage and displaying a graph of counts and percentages after
user submits the poll.