Visualizing the Popularity and Ratings of Vegetarian vs Meat-Based Recipes

Posted on May 13, 2019

For a project in web scraping, I was interested in looking at the popularity of meat-based recipes vs vegetarian recipes. To look into this, I used popular food blog (and a personal go-to of mine for recipes),

As implied by the blog title, the main goal of is to provide inexpensive recipes. All recipes give the per recipe and per serving prices where applicable (some recipes only give the per recipe price, such as dressings and loaves of bread). In addition to saving money, BudgetBytes aims to save time and energy while still creating delicious meals. These recipes are made with easy to find ingredients and common cooking supplies. The recipes on are broken out into many different categories, which include several that are diet and allergy specific. Paired with a broad cultural repertoire, BudgetBytes reaches a large audience.

I used Scrapy to pull all recipe data from When done, I had 960 unique recipes within 32 different categories. However, most recipes could be found in several different categories, so there was a total of 6232 total recipes when category was included as a recipe feature.

I began my analysis with a few expectations:

  1. Recipes ratings would increase as recipe price increased - I believed higher prices could potentially indicate better and/or more variety of ingredients, causing higher user satisfaction.
  2. Recipes ratings would decrease as total cook time increased - Since one of BudgetByte's main focus is to provide easy-to-make recipes, I expected greater cook times could indicate more complicated recipes, leading to lower user satisfaction.
  3. Vegetarian and allergy-friendly recipes would not be as popular or as highly rated as meat-based recipes - As a former vegetarian of nearly 8 years, I often found that vegetarian meals would miss the mark of being as satisfying and versatile as a meat-based meal. I expected this would be reflected in the ratings and foot traffic when comparing vegetarian and allergy friendly to meat-based recipes.

The above 3 graphs explore my first 2 expectations. I was really surprised to find that nearly all of BudgetByte's recipes are rated 4.0 or higher (out of 5). Only 8 recipes appear to be below 4.0, with the lowest at 3.25. While I did not see the upward trend I was expecting for price vs rating, there is a significant drop-off of "low" rated recipes after the price per serving reaches $2, with the lowest rating a 4.25.

I also did not find the trend I was expecting to see in the time vs rating plot (time is in minutes). Though there are much fewer recipes on BudgetBytes that are over 200 minutes in cook time than under, we can see that none of them have a rating lower than about 4.20. Since the very large majority of recipes are under 120 total cook time, I thought that perhaps if I zoomed into this range I would see the downward trend I was expecting. However, as shown in the 3rd graph, the ratings still stayed very consistent across a cook time range of 0-120 minutes.

Next, I wanted to explore the popularity and rating differences between meat-based recipes and vegetarian/allergy-friendly recipes. The above graph confirms the initial expectation that meat-based recipes would be more expensive than the other categories I was interested in. Bowl meals often consistent of different types of grains, meat, and a variety of vegetables and toppings, so it makes sense that this category would also be among the most expensive. This graph shows the average meat recipes price per serving is about $1.60 while the average vegetarian price per serving is only around $0.88.

We've already seen that nearly all BudgetBytes recipes are very highly rated, so the above graph of average recipe rating per category showing all high ratings is not surprising. Even though there isn't much of a difference in the average ratings even when looking at the highest and lowest rated, we do see that Meat Recipes is in the lower half of average ratings, while Vegetarian, Dairy Free, Egg Free, and Soy Free all score above it.

Looking further into the popularity of each category, we see that (not including the large, umbrella category of "Main Dish") Vegetarian Recipes have the most total votes, followed by Meat Recipes, Gluten Free, Soy Free, and Egg Free. It was surprising to see that more people visit this site for vegetarian recipes than meat-based, and nearly as many visit for several allergy-friendly recipes as meat-based.

When looking at the ratio of votes to number of recipes in each category, it is also clear that people really enjoy BudgetBytes for the types of recipes that are easy to make and save time. One Pot Meals, Soup Recipes, Slow Cooker Recipes, and Pasta Recipes all make the top of the list.

In future work, I would like to explore how BudgetBytes recipes compare both in price and final product to popular meal delivery services, such as Blue Apron and HelloFresh. While these services definitely offer a convenience factor that is not present with finding and preparing your own recipes, it is not clear if the final product is drastically different from inexpensive meals you can find on sites like BudgetBytes. If this is the case, I would like to dig into the cost difference of these two options and determine potential business loss for meal delivery services due to that cost difference.

Thank you for taking the time to read my post!

About Author


Kat Kennovin

Data scientist with a quantitative science and analytical background. Strong communication skills driven by multi-team collaboration work experience, a team-player mindset, and the ability to simplify complex problems.
View all posts by Kat Kennovin >

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 airbnb Alex Baransky alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus API Application artist aws 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 Bundles California Cancer Research capstone Career Career Day citibike clustering Coding Course Demo Course Report D3.js data Data Analyst data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization Deep Learning Demo Day Discount dplyr employer networking feature engineering Finance Financial Data Science Flask gbm Get Hired ggplot2 googleVis Hadoop higgs boson Hiring hiring partner events Hiring Partners Industry Experts Instructor Blog Instructor Interview Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter lasso regression Lead Data Scienctist Lead Data Scientist leaflet linear regression Logistic Regression machine learning Maps matplotlib Medical Research Meet the team meetup Networking neural network Neural networks New Courses nlp NYC NYC Data Science nyc data science academy NYC Open Data NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time Portfolio Development prediction Prework Programming PwC python python machine learning python scrapy python web scraping python webscraping Python Workshop R 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 Selenium sentiment analysis Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau team TensorFlow Testimonial tf-idf Top Data Science Bootcamp twitter visualization web scraping Weekend Course What to expect word cloud word2vec XGBoost yelp