"chance of" is typically used when "chance" means "likelihood", "probability", "odds". "chance to" is typically used when "chance" means "opportunity". " There's more to be said, but I think these rules of thumb will give you a good start.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.