as an illustration vs to illustrate

as an illustration

to illustrate

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