in a (flat) spin vs in a panic

in a (flat) spin

in a panic

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