by chance vs by coincidence

by chance

prep
  • Unexpectedly, accidentally; without foreplanning. 

  • Possibly; perhaps. 

by coincidence

How often have the words by chance and by coincidence occurred in a corpus of books? (source: Google Ngram Viewer )