Open shape
xx0222
Dmaj7 is the D major 7 chord. Its notes are D, F♯, A and C♯. An open, reflective color. The major seventh sits a semitone below the root.
xx0222
x57675
10-12-11-11-10-10
Numbers show frets from the low E string to the high e string; x means don't play that string.
Dmaj7 is the Imaj7 chord in D major and the IVmaj7 chord in A major. That makes it a natural fit in songs written in those keys.
Every D, F♯, A and C♯ on the first 12 frets. The filled dots are the root, D. Build your own shape from any nearby group.
Other D chords
Other major 7 chords