dementia vs insanity

dementia

noun
  • Madness or insanity. 

  • A progressive decline in cognitive function due to damage or disease in the brain beyond what might be expected from normal aging. Areas particularly affected include memory, attention, judgement, language and problem solving. 

insanity

noun
  • The state of being insane; madness. 

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