Data Visualizing Wine Reviews
The skills we demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.
Have you ever been wine shopping and wondered if the ratings actually mean anything? Do only high-priced wines get good reviews? This data analysis attempts to demystify some of the confusion behind these ratings by examining a wide range of wines reviewed by a popular wine publication and showing ways to choose a wine based on other factors such as country of origin and varietal.
Background
I obtained a data set of reviews for over 110,000 different wines published by Wine Enthusiast magazine between 1999 and 2017.
The wines reviewed originated from 42 different countries and ranged in price from $4 to $3300. Reviews were written by at least 20 different professional wine tasters (some anonymous) and included a rating of the wine on a 100-point scale. Only wines with a rating of 80 or higher are reviewed and included in the database. The rating scale used by Wine Enthusiast magazine is provided below. A “Classic” rating is extremely rare - in fact, only 115 wines among the 110,000 reviewed received a rating of 98 or higher.
Classic | 98-100 | The pinnacle of quality. |
Superb | 94-97 | A great achievement. |
Excellent | 90-93 | Highly recommended. |
Very Good | 87-89 | Often good value; well recommended. |
Good | 83-86 | Suitable for everyday consumption; often good value. |
Acceptable | 80-82 | Can be employed in casual, less-critical circumstances. |
Data on Wine Ratings vs. Price
One of the first questions you may have when shopping for a wine and see its rating is to ask whether the wine will be good enough for the occasion or if it’s better to spend more money and get a better wine. To better visualize the relationship between price and rating, I’ve plotted the rating against the wine price for 5000 wines sampled from the data set.
It’s no surprise that yes, higher-priced wines do tend to have higher ratings. However, the extremely high-priced wines graphed on a linear scale make it difficult to see the relationship for the majority of the wines reviewed, so I’ve also plotted the price on a logarithmic scale, which shows a much more direct relationship between price and wine rating.
The good news for (frugal) wine lovers is that the spread in the data for many of the wines in the $10 to $100 range reveals that there are still many wines with “Excellent” ratings of 90 and above within reach. Using the linear regression line in the Rating vs. log(Price) graph allows us to determine that wines plotted several points above the line are better values compared to others in its price range or rating category.
Varietal Ratings and Prices by Country
Next I was interested in finding out if the ratings and prices for different varietals varied by country and if there was a significant difference in price and rating. These bar charts, which compared the average rating and median price for several varietals from the 5 countries with the most wines reviewed, showed some surprising insights as well.
For example, Bordeaux Red-blends from Portugal, on average, were more highly-rated than the other four countries and had a much lower significant median selling price. On the other hand, Spanish Rieslings were rated lower than the other four countries shown, but sold for a similar price. Comparing favorite wine varietals in this manner enables consumers to find better deals on higher-rated wines and encourage them be more adventurous in trying different wines.
Wine Selector
Finally, I also put together a few tools to help explore the full database of wines reviewed and find the best values on wines specified by varietal and price range. The user can also choose a desired rating category and search for the wines Idetermined were the “Best Values” from my wine rating vs. price analysis. Another tool allows the user to see the most popular wine varietal from different countries around the world and each of the U.S. states that produce wines. This may be useful for travelers wishing to find the best type of wine to drink when visiting or to buy as a memorable souvenir.
Data on Most Popular Wine by Region
Conclusion
Overall we can see that higher-priced wines tend to have higher ratings, however more can be learned when comparing these two variables. Using these tools, we can discover new wines and find the best values for wines we love. Additional work includes the ability to filter out wines that are currently available, using today’s prices, since many of the reviews may date back up to 17 years, and links to the full text of each wine’s review.
Cheers!
Data source: Kaggle Dataset: Wine Reviews
Data analysis and interactive charts were developed with R and Shiny and can be found here.