Hello...

I prefer to view those chords as having D in the base instead of D chord of some kind:

Dm | Gm/D | Am/D | B7/D | Gm9/D - Gm/D | D

Guitar Tab:

1 | 3 | 5 | 5 | 5 3 | 2
3 | 3 | 5 | 4 | 3 3 | 3
2 | 3 | 5 | 4 | 3 3 | 2
0 | 0 | 0 | 0 | 0 0 | 0
x | x | x | x | x x | x
x | x | x | x | x x | x


Cheers!