important vs necessary

important

adj
  • Having relevant and crucial value. 

necessary

adj
  • Required, essential, whether logically inescapable or needed in order to achieve a desired result or avoid some penalty. 

  • Unavoidable, inevitable. 

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