Lesson 1 of 0
In Progress

Challenge 11: Tip Analysis

Kedeisha May 22, 2023

Those who submit an entry will be eligible to win a free copy of any book related to data analysis by Packt! The more weeks you participate, the more chances you get to win!

There is no deadline for submission.


You are a data analyst and you have been tasked with analyzing data related customer total bills at a local restaurant. Your manager would like the following questions answered.

Get the Data

Download dataset here.

Read in the data


  1. Delete the Unnamed 0 column
  2. Plot the total_bill column histogram
  3. Create a scatter plot presenting the relationship between total_bill and tip
  4. Create one image with the relationship of total_bill, tip and size.
  5. Present the relationship between days and total_bill value
  6. Create a scatter plot with the day as the y-axis and tip as the x-axis, differ the dots by sex
  7. Create a box plot presenting the total_bill per day differentiation the time (Dinner or Lunch)
  8. Create two histograms of the tip value based for Dinner and Lunch. They must be side by side.
  9. Create two scatterplots graphs, one for Male and another for Female, presenting the total_bill value and tip relationship, differing by smoker or no smoker

Submission Instructions

Place a comment below the post with your submission, then make a LinkedIn or twitter post with a screenshot or PDF of your answers. You can explain your thought process if you’d like. Just make sure to tag the Data in Motion LLC LinkedIn page or Twitter page.