Root on A string
no fifthx5455x
D9 is the D dominant 9 chord. Its notes are D, F♯, A, C and E. A dominant seventh with a ninth added. Try it in a blues turnaround.
x5455x
Numbers show frets from the low E string to the high e string; x means don't play that string.
Every D, F♯, A, C and E on the first 12 frets. The filled dots are the root, D. Build your own shape from any nearby group.
Other D chords
Other dominant 9 chords