Entire neck in the key of C Major

This diagram shows all the notes on the guitar in the key of C major.

This diagram shows all the notes on the guitar in the key of C major.
All the notes on the guitar in the key of C major.

Note that the tonic note - C - is marked in red. These mental maps are how you construct melodies, harmonies, chords and arpeggios in a particular key.