danger vs peril

danger

noun
  • An instance or cause of likely harm. 

  • The stop indication of a signal (usually in the phrase "at danger"). 

  • Exposure to likely harm; peril. 

peril

noun
  • Something that causes, contains, or presents danger. 

  • A situation of serious and immediate danger. 

  • An event which causes a loss, or the risk of a specific such event. 

verb
  • To cause to be in danger; to imperil; to risk. 

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