chords in the key of d are I D (x x 0 2 3 2), ii Em (0 2 2 0 0 0), iii F#m (2 4 4 2 2 2), IV G (3 2 0 0 0 3), V A (x 0 2 2 2 0), vi Bm (x 2 4 4 3 2) and vii° C#dim (x 4 2 0 2 0).
One fingering each
D major charts put string 6, low E, on the left and string 1, high E, on the right. Dot numbers are fingers: 1 index, 2 middle, 3 ring, 4 pinky. × is muted, ○ is open, and the letters under the strings are the notes you hear.
D major has 2 barre shapes out of 7: F#m and Bm. The other 5 each include an open string.
The I chord on piano is D3, F#3 and A3, MIDI 50, 54 and 57. The same pitch classes are D.
One octave from C. Gold keys are the D pitch classes, not a specific octave.
How this key sits on guitar
The D chart mutes the sixth string and the fifth string, then sounds the open fourth string. That single shape is the home chord; the table above is the whole key.
No. The phrase chord d major guitar means the home chord alone. The phrases chords in d major, chords for d major scale and d major scale guitar mean the scale notes and the triads in the table together.