The statistics on this page are calculated from the 243 poems published on this site, rather than every one he ever wrote (several of which are entirely lost anyway). It is, nonetheless, an extremely representative sample of his output.
McGonagall has a reputation as a “disaster poet”, but as the following chart shows his range of subject matter was far wider, with no particular subject dominating the others:
Poems Over Time
McGonagall’s output varied over time, as can be seen below:
He also found some parts of the year more conducive to poetry writing than others: