I had no idea what a 4D or 8D battery was... or even Group 24 or Group 27. I just went to this site http://www.windsun.com/Batteries/Battery_FAQ.htm
They had listed various sizes... see the chart below.
U1 34 to 40 Amp hours 12 volts
Group 24 70-85 Amp hours 12 volts
Group 27 85-105 Amp hours 12 volts
Group 31 95-125 Amp hours 12 volts
4-D 180-215 Amp hours 12 volts
8-D 225-255 Amp hours 12 volts
Golf Cart & T-105 180 to 225 Amp hours 6 volts
L-16, L16HC etc. 340 to 415 Amp hours 6 volts
While this doesn't show the physical size, at least it gives an idea of the power available for each designation.