The line graph representing the number of times in the shop versus the frequency is shown below:
\[
\boxed{
\begin{array}{c|c}
\text{Number of Times in Shop} & \text{Frequency} \\
\hline
0 & 5 \\
1 & 12 \\
2 & 14 \\
3 & 9 \\
\end{array}
}
\]
The correct line graph is the one that accurately represents these data points and their connections.