From Einstein’s photoelectric equation:
\[
K_{\text{max}} = h\nu - \phi
\]
where \( K_{\text{max}} \) is the maximum kinetic energy, \( h \) is Planck's constant, \( \nu \) is the frequency of incident light, and \( \phi \) is the work function.
The stopping potential \( V \) is directly proportional to \( K_{\text{max}} \), so the equation becomes:
\[
eV = h\nu - \phi
\]
This implies a linear relationship between the stopping potential \( V \) and the frequency \( \nu \). In the given graph, both Na and Al exhibit straight lines, confirming that \( V \) (and hence \( K_{\text{max}} \)) varies linearly with frequency for both metals.