For a recent project I had to determine the most commonly selected answer/value in a quiz submission. This quiz was built using Gravity Forms, so I added a custom merge tag that calculates the most common value in the submission array. This is useful for Buzzfeed-style personality quizzes, example: if you selected mostly ‘pony’ value answers you are a pony.
Once this information is available as a merge tag you can display conditional badges for each result.
This is a presentation my colleague Ben and I gave at WordCamp Raleigh in November. We also added a sample plugin to github so people can quickly get started with their own maps.