The standard grips this chord is usually shown with.
Dsus4 is D, G and A, a suspended fourth. The shape this page opens on is written xx0233, lowest string first.

Also written Dsus or D suspended 4th. The same chord either way; which spelling you meet depends on who wrote the chart.
There are 8 common shapes for Dsus4 on the guitar, and 52 derived voicings in 2 families.
In which keys. Every note of Dsus4 belongs to C major (the ii), D major (the I), D minor (the i), E minor (the ♭VII), F major (the vi), G major (the V), G minor (the v), A minor (the iv), Bb major (the iii) and B minor (the ♭III).
The common shapes, written lowest string first: xx0233, x50035, x5523x, x57785, 10-x-7-7-8-10, x-x-7-7-8-10, 10-12-12-12-10-10, x-x-12-14-15-15.
Triad. Three notes across one string set. Dsus4 has xxx233, xx0233, 3002xx, xxx035, 300xxx, xx0035, 3000xx, x0003x.
Open string. An open string left ringing against a fretted grip. Because it costs no finger, it sounds a note the closed shape has none left for -- a tension on top, or a pedal root underneath. Either a familiar grip with open strings added, or a shape so sparse the open strings carry the chord. These belong to their key rather than to a shape, so D, A, G and E have many and Eb a handful. Dsus4 has xx0035, x0003x, 5500xx, 5x003x.
The common shapes and the derived voicings come from different places, and both are explained in where the chords and the theory come from.
Shows each chord the way this style would voice it, and marks which of its alternatives belong to the idiom.