Problem Statement: To identify the restaurant in Mexico, which is highly rated and also to identify the restaurant for the future investments. Also, analyze the consumer preferences and demographics effect.
About Data: The dataset is from 2012 real consumers, available at Restaurant Ratings Dataset. It contains 5 csv files : consumer_preferences, consumers, ratings, restaurants_cuisines, restaurants.
Before making a visualization using the data in powerBI, we will follow certain steps as mentioned below:
Data Loading and Cleaning This is the first step of getting started with powerBI here we connect the data source (i.e. csv files) and load them to power query editor, which is basically data transformation editor. Here, we can perform many task such as modify data type, remove or replace null and duplicate values, create, delete, merge, rename columns. In consumer table we have many blank cells in smoker, drink_level, transportation_method, marital_status, children, occupation etc. which is replaced by "NA".
Data Relationship Modeling: This is the second and crucial step for data analysis, in this step we make connection between the tables following one to many relationship. Here consumers and restaurants table having distinct primary key only are kept on one side and others tables on many side.
Creating Calculated Columns and Explicit Measures using DAX: In data analysis we will make a use of very powerful Data Analysis Expression language. We can create new metrics and columns to gain more valuable insights from our data and drill down to more specific level. We have created calculated columns such as cuisines ordered in consumers table and order taken in restaurants table, also created measures like total restaurants, total cuisines.
Report and Visualization: This is the final step where we develop charts and graphs. We have created report by restaurants and derived insights from the report.
Insights:
Top City: From Restaurants report we can see that total restaurants are 130 of which 84 are from San Luis Potosi city. So the top city is San Luis.
Top Cuisine:The Mexican cuisine is the top most among the consumers as well as it is ordered maximum by restaurants as well.
Top Restaurant: The top 3 restaurants received highest orders are Tortas Locas Hipocampo (36), Puesto De Tacos (32), Cafeteria Y Restaurant El Pacifico (28) based in a Sant Luis Potosi.
Restaurant Ratings: The top restaurant by orders received is also the top overall highly satisfied restaurant. The satisfaction rating also suggests that non smoking, medium pricing and no alcohol based restaurants are in large numbers.
Consumer Type:The maximum consumers are of age group of 21-23 and are single.This shows all the consumers are of students and bachelors who are more interested in.