What is the origin of the term location location location?

There is an old joke in the Property or Real Estate business:

Question: "In establishing the value of a house, what are the three most important factors?"
Answer: "Location, location, location."

In other words, the area the property is located in is so important, everything else you could say about it hardly matters.

This humorous retort has given rise to many variations.