posterity vs successor

posterity

noun
  • All the future generations, especially the descendants of a specific person. 

successor

noun
  • The next heir in order or succession. 

  • A person or thing that immediately follows another in holding an office or title. 

  • The integer, ordinal number or cardinal number immediately following another. 

  • A person who inherits a title or office. 

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