Quick Success Data Science
Are you tired of the same old board games on game night? If you know a little Python, you can easily make a customized trivia game with word clouds.
A word cloud is a visual representation of text data used to display keyword metadata, called tags on websites. In a word cloud, font size or color shows the importance of each tag or word.
Here are three example word cloud quizzes; can you guess the two movies and the one song (the answers are at the end of this article):
You can use this technique to generate customized quizzes for movies, music, novels, historical events, and more. They’re also adaptable to more serious applications such as training exercises. Best of all, they’re customizable to any subject you desire.
In this Quick Success Data Science project, we’ll make quiz cards and answer sheets for a movie trivia game. As part of the process, we’ll scrape the data straight off Wikipedia movie pages. Using this basic template, you should be able to adapt the program to other uses.
In addition to Python, you’ll need the following libraries:
You can find installation instructions for pip
in the previous links.