Do we need to create a a search before creating a visualization?

do we need to create a a search before creating a visualization? We have created a search and an associated visualization which we intend to replicate for few more apps in the suite. I wanted to understand if its mandatory to create a search before create a visualization.