The general criteria is a spike in readers and or views, I think favorites might have some impact. Generally the key is sudden growth. Pretty sure there are a lot of older threads that have already answered this to great detail.
Also, if we ever do figure out the exact algorithm for trending...