The Mad Hatter in "Alice in Wonderland" reflects the popular belief that hatters tended to go mad.
Somebody traced it to hatters' use of mercury vapor curing felt, iirc.