Today is the last day of Dashboard Week! What a wild ride!
Today, we were given historical World Cup Data, and instead of creating an analysis like I usually do, I decided to be a bit ambitious and create a game!
If you've heard of the game Globle, you essentially guess a country, and the closer you are to the target country, the darker in color.
My idea was quite similar, except the target country would be the World Cup winner for that year.
Because I had to measure distance between countries, I manually added country longitude and latitude information for each country.
From here, I used parameters and calculated fields in order to pass the selected country into a set, in order to find the distance from the selected country to the target country.
I colored the country based on how far it was from my target, and had a filter to show countries guessed.
I wanted to include a reset button as well, to clear the set from any selections the user may have made. This was perhaps one of my biggest blockers, as a few consultants had difficulties helping me. Luckily, I was able to get enough help that we found a solution, which was actually including the original field (not the set!) on the reset button sheet.
Lastly, I implemented a count of how many guesses a user made before correctly guessing the winning country.

You can play Cupdle on Tableau Public!
