Every fingering that fits a hand
7545
hard
754x
easy
78a8
hard
What is true of it
Ddim is D, F and A♭ — 1, b3 and b5 counted from D.
The easiest of the 3 fingerings below is 7545: 4 fingers, held at the 4th fret.
None of them uses an open string, so this chord moves up the neck unchanged — the same shape 1 fret higher is the chord a semitone above.
Where its notes are on the neck
The brass dots are D, the root. Everything else is a chord tone with its degree printed in it.
With a different note underneath
Ddim/F
x545
Ddim/A♭
121x
An inversion is the same chord with a different note lowest. The name changes to a slash name because the bass is what a listener hears as the foundation.