Data Trends in Video Game Sales and Ratings

Posted on Feb 7, 2021
The skills I demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Shiny App | GitHub | LinkedIn


The video game industry is booming -- in popularity, and in profits. Data estimates for 2020 predict that global revenue for the video game industry will generate approximately $180 billion that year. For context, the global film industry reached a new record of $100 billion in revenue in 2019 (MarketWatch).

The COVID-19 pandemic has necessitated immense behavioral changes among the general population. The gaming industry's audience is only growing as people look for new ways to entertain themselves at home or socialize with friends over long-distance.

Given the massive revenue and overall popularity of video games, I was curious to explore sales and rating data. An interesting phenomenon in other entertainment industries (film in particular) is the discrepancy between the ratings of the general population and of critics. In this project, I attempt to uncover if this same discrepancy exists within the video games industry. Moreover, if such a discrepancy existed, I sought to see if this had a substantial impact on sales.

The Data

I retrieved a dataset from Kaggle containing information on approximately 7,000 video games, released between 1996 and 2016. The file included general information about the game itself (developer and publisher, platform, rating, etc.), units sold (in millions) for multiple world regions as well as a global total, and user and critic ratings. 

Three Big Questions:

  • Do different world regions express unique preferences for certain genres?
  • Are user and critic ratings correlated, for different genres?
  • Do either user or critic ratings correlate with game sales?

Data on Genre Preferences by World Region

Data Trends in Video Game Sales and Ratings
A stacked bar chart depicting the proportion of each genre of games sold in each of the four world regions: Europe, Japan, North America, and everywhere else.

To investigate whether different world regions express unique preferences for video games, I produced two visualizations: a stacked bar chart (as seen above), and a mosaic chart (below). The stacked bar chart was made using the R libraries ggplot2, dplyr, and tidyr. The proportions of each region were not expected to be identical - North America and Europe each are more populous than Japan, for example. 

Particular regions were determined to be over- or under- represented based on the relative width of their slice of each bar. Some of the findings I interpreted were that North America disproportionately prefers Sports and Shooter genres. Japan, seems to express virtually no preference in those two genres but is over-represented in purchases of the Role-Playing and Puzzle genres. However, I found that overall this chart was not the most effective method of conveying this information. As a result, I produced a mosaic plot. 

Data Trends in Video Game Sales and RatingsCourtesy of the package ggmosaic.

Mosaic plots are a neat way to visualize the relationship between two categorical variables. I weighted each region-by-genre block by the number of units sold. The height of each box represents the relative amount of units sold in that genre. This can be compared across rows (to other regions) or up and down the column (to compare between genres, within the region). 

For instance, it can be ascertained that Strategy and Adventure games are not particularly popular in any region. Platform games are somewhat popular in all regions, but are disproportionately preferred in Japan. I was most surprised by the patterns displayed the Role-Playing genre. It seems to be somewhat popular in all regions. However, in Japan, this genre is the most popular by a landslide.

Overall, it seems North America and Europe display very similar preferences in terms of the genres of games most often sold. Japan displays unique patterns in terms of game preferences. I would suggest targeted regional approaches in terms of marketing. Some games might experience massive popularity in one part of the world, but not universally, depending on their genre.  

Data Correlation Between User and Critic Rating

Data Trends in Video Game Sales and Ratings
A scatterplot of mean user ratings and critic ratings, overlaid with a best-fit linear regression line. Both user and critic ratings are measured on a scale of 1-100. The data is grouped by genre, to determine if such a correlation exists for each given genre of game.

I was interested in investigating whether user and critic ratings reach a general consensus with one another. For all genres, there is a positive, linear relationship between user and critic rating. This indicates that in general, higher user scores can suggest higher critic scores, and that the two ratings are somewhat consistent.

However, the strength of this relationship varies by genre. Strategy games, for example, have a relatively weak association, whereas puzzle games have a relatively strong association. This may be more indicative of the quantity of data points: there are not an equal number of games in each genre present in the data set. However, a visible linear pattern in present in most of the genres, which suggests some relationship, even if to a minor degree. 

Data Correlation Between User and Critic Sales

Across areas of multimedia entertainment, there is often some discrepancy between critic and consumer scores. This may be due to different rating criteria -- a critic might be concerned with if a game is of excellent quality, a user may be concerned with if a game is enjoyable to play. 

As interesting of an insight as the correlations displayed above are, they are truly only useful if ratings affect game sales. In order to see if this was the case, I produced a linear regression line to display the relationship between:

  1. user score and units sold, displayed in blue, and
  2. critic score and units sold, displayed in red.
For each genre, see the correlation between user ratings and sales (blue) and critic ratings and sales (red).

Across all genres, critic scores display a stronger, positive association with units sold. This indicates that potential consumers may be more influenced by critics' ratings of the game than a user's. The rate to which user ratings are correlated with units sold varies for the genres.

For the Shooter genre, it appears that user ratings are not associated at all with sales, but critic ratings are. In this genre, user ratings are seemingly disregarded in the purchasing decision.

Adventure and Strategy sales are not affected much by either rating type, suggesting purchases are not broadly affected by ratings. There is a substantially strong relationship between critic scores and units sold, for Action games, suggesting that critics' ratings are strongly taken into consideration strongly.

Conclusions: Do ratings matter?

The answer is: it depends. The relationship between ratings and sales varies greatly by genre. Similarly, the source of the rating (user or critic) varies in influence by genre. My number-one suggestion to developers and advertisers would be: know your audience. 

My personal hypothesis may be that users will trust a rating as reliable if they believe the rater prioritizes the same features as themselves. However, that's a direction for future investigation.

My Shiny App

It was a highly rewarding experience building an R Shiny application from scratch to display my findings. I also had the opportunity to take advantage of Shiny's interactivity features. Beyond the findings discussed above, I included an interactive data table on my shiny application, using the DT library. The user has the capability to filter by region (determining the number of units sold displayed) and platform of game. I encourage anyone exploring the app to use these features to see if they can discover any trends of interest!

Lastly, thank you!

Thank you for taking the time to read about my project! Video games and beautiful figures are both hobbies of mine, so I found this project to be highly rewarding! I appreciate the new insights working on this project has encouraged me to think about, and I am excited to improve my visualization skills even more going forward.

No solo project is ever truly completed alone. I'd like to give a huge thanks to the incredible team of instructors at NYCDSA for their assistance and patience in debugging. I'd like to thank the other members of my cohort, whom I am learning with as well, for offering their advice, encouragement, and invaluable feedback in constructing this project. 

About Author

Casey Hoffman

Casey Hoffman is an experienced data professional with a background in academic research and higher education. She holds an M.A. and B.A. in Experimental Psychology from New York University. Casey is passionate about solving real-world problems through the...
View all posts by Casey Hoffman >

Related Articles

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI