Which graph would you use to show how many cookies were sold over time?

\begin{tabular}{|l|l|}
\hline
Time (hours) & Number of cookies sold \\
\hline
1 & 100 \\
\hline
2 & 247 \\
\hline
3 & 530 \\
\hline
4 & 890 \\
\hline
\end{tabular}

A. Stemplot

B. Bar graph

C. Box-and-whisker plot

D. Line graph



Answer :

To determine which type of graph is best suited for showing how many cookies were sold over time, we need to consider the characteristics of each type of graph:

1. A Stemplot:
- A stemplot, also known as a stem-and-leaf plot, is used to organize data and display its distribution.
- It’s not ideal for showing changes over time.

2. A Bar Graph:
- A bar graph uses rectangular bars to represent data values.
- It’s useful for comparing quantities among different groups, but it’s not the best choice for showing trends over time because it doesn’t effectively display continuous data.

3. A Box-and-Whisker Plot:
- A box-and-whisker plot, or simply a box plot, shows the distribution of data based on a five-number summary (minimum, first quartile, median, third quartile, and maximum).
- Like the stemplot, it doesn't illustrate changes over time.

4. A Line Graph:
- A line graph displays data points connected by straight lines.
- It’s typically used to show trends over time by clearly illustrating how values change at specific intervals.

Given the goal of showing how many cookies were sold over time, a line graph is the most suitable choice. It effectively displays the trend and variations in the number of cookies sold at different times.

Therefore, the best graph to use in this situation is:

D. Line graph