Why is California more successful than New York and Florida?

What did California do right to become the most important state? Is this due to the California gold rush?

Why is California more successful than New York and Florida?
Post Opinion