Path: blob/master/07_Visualization/Chipotle/Exercise_with_Solutions.ipynb
548 views
Kernel: Python 3
Visualizing Chipotle's Data
Check out Chipotle's Visualization Exercises Video Tutorial to watch a data scientist go through the exercises
This time we are going to pull data directly from the internet. Special thanks to: https://github.com/justmarkham for sharing the dataset and materials.
Step 1. Import the necessary libraries
In [1]:
Step 2. Import the dataset from this address.
Step 3. Assign it to a variable called chipo.
In [2]:
Step 4. See the first 10 entries
In [134]:
Out[134]:
Step 5. Create a histogram of the top 5 items bought
In [4]:
Out[4]:
Step 6. Create a scatterplot with the number of items orderered per order price
Hint: Price should be in the X-axis and Items ordered in the Y-axis
In [5]:
Out[5]:
(0, 36.7178857951459)
BONUS: Create a question and a graph to answer your own question.
In [ ]: