Wonderland is a well-used theme, that is repeated in several anime episodes. A couple examples of this, are Black Butler's Ciel In Wonderland, and Ouran High-school Host Club's Haruhi In Wonderland. The only one I've seen is 'Haruhi In Wonderland.' In Ouran High-school Host Club, 'Tamaki Senpai' is shown as The Mad Hatter, while apparently, in Black Butler, The Undertaker is the Mad Hatter. The two characters share some characteristics with the Mad Hatter, while they carry differences as well. The Undertaker is possibly more like the Tim Burton Mad Hatter, being creepy, disturbing, and all around mad. Tamaki Senpai, however, is more likely like Disney's Mad Hatter, being light-hearted, charming, and slightly eccentric. There are quite a few more examples, but these are the two examples I knew the most about, so I went with these ones.
The three pictures above are Tamaki, Undertaker, and The Host Club. I'M NOT SURE WHICH MANGA/ANIME THE PHOTOS BELOW THIS ARE FROM... I hope none of them belong to a really bad anime! I can only do as well as Bing Search will let me. I own none of the photos!
Well, that's about it for anime for now... feel free to check out the other sections listed at the top of the website. Also, I know, the last picture here is from Undertale, and it is not for the Mad Hatter, but I had to put it here, to help end this page.