In fact, it's not based on a book at all, but rather an original screenplay (his first and only) by Seuss. It's The 5,000 Fingers of Dr. T (1953) and it's just as wonderfully demented as it sounds. The plot is more or less that young Bart has to thwart his nefarious piano teacher from imprisoning 500 boys (x 10 fingers each = 5000 fingers) to play a giant piano in unison for all eternity. While the film is definitely uneven, it's certainly worth a watch to revisit your childhood days when every unlikable authority figure was an evil supervillain. But an even more compelling reason is that the imagery is incredible - it's what a Seuss film should look and move like. Instead of digitally grafting comedians' faces onto CG renderings, we get charmingly organic sets and costumes shot in the brightest, most glorious Technicolor. This is how Seuss' world moves in (non-animated) three dimensions. Oh and did I mention that it's also a musical with lyrics by the Doctor himself? I've included images below to whet your appetite for this wacky masterpiece...
There aren't a ton of stills from this online...so just watch it! (For as much as it sounds like a lost treasure, it's actually on a Region 1 DVD and available from Netflix and Amazon VOD. So you have no excuse!)