melancholia vs unhappiness

melancholia

noun
  • Deep sadness or gloom; melancholy 

  • depression, characterised by irrational fears, guilt and apathy 

unhappiness

noun
  • The feeling of not being happy 

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