by way of illustration vs to illustrate

by way of illustration

to illustrate

How often have the words by way of illustration and to illustrate occurred in a corpus of books? (source: Google Ngram Viewer )