What would convince the owners to keep the playground open?
A large number of visitors does this.
Who highfives the janitory at the playground?
A large number of visitors do this.
In the first example "A large number of visitors" is taken as one whole thing and used as the singular thing that convinces the owners to keep the playground open.
The second example talks about the individual visitors that highfive the janitor, and there are a lot of them.
To fully answer your question: it's not the "of visitors" that decides if it's singular or plural. In fact the "of X" part can be dropped if it is clear from context what the large number is "of" without changing anything else about the sentence.
What would convince the owners to keep the playground open?
Kids! A large number does this.
Who highfives the janitory at the playground?
Kids! A large number do this.
(thanks to @ParibusCeteris for providing these examples)