nightmare vs terror

nightmare

noun
  • Any bad, miserable, difficult or terrifying situation or experience that arouses anxiety, terror, agony or great displeasure. 

  • A very bad or frightening dream. 

  • A feeling of extreme anxiety or suffocation experienced during sleep; Sleep paralysis. 

verb
  • To have a nightmare. 

terror

noun
  • Intense dread, fright, or fear. 

  • The action or quality of causing dread; terribleness, especially such qualities in narrative fiction. 

  • A night terror. 

  • Terrorism. 

  • Something or someone that causes such fear. 

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