Question 18: Snacks Plotly

📝  Snack Shop Sales

Use the Snack Shop Sales App to record, view, and understand how many snacks were sold each day using a table, bar chart, and pie chart.


đź“– Scenario:

You are helping the school’s snack shop track what snacks students buy each day. The shop sells items like biscuits, juice, popcorn, cookies, and fruit snacks.
Your job is to use the app to enter daily sales, then view a table and charts to understand which snacks are most popular.


âś… What You Will Do:

  1. Open the app.

  2. Go to “Input Purchase”:

    • Choose a snack from the list.

    • Enter how many were sold today.

    • Click “Enter Sales” to save it.

  3. Go to “View Purchases”:

    • View the updated sales table.

    • Create a radio button to switch from bar to pie charts for the below:
    • Look at the bar chart showing how many of each snack were sold.

    • Look at the pie chart showing how the total sales are shared between snacks.

Write what you are looking for, and press enter to begin your search!