E/D is D, E, G# and B — with D put in the bass.
It sounds like the major triad it is, resting on a different floor. If D is already one of the chord’s notes this is an inversion, and if it is not it is a new colour under an unchanged chord; either way the reason to reach for it is a bass line that walks by step where root-position chords would leap.
Inversion or pedal — the harmony is unchanged; only the bass moves.
Also written E over D or E with D in the bass.

In which keys. Every note of E/D belongs to F# minor (the ♭VII) and A major (the V, the dominant).
Read E/D as a lydian chord: the triad supplies the ♯11, which puts it in D lydian. It also sits inside E mixolydian, E lydian dominant and E half-whole diminished.
Each of those is a page: the scale across the neck, and the chords it harmonises into — which is where E/D sits in it. Every scale.
Change one note of E/D and you have (drop the flat seventh), (the flat seventh becomes the major seventh), (the major third becomes the minor third), (the flat seventh becomes the ninth), (the flat seventh becomes the sixth) or (the major third becomes the fourth).
E/D is a slash chord — a triad over a named bass note. Slash chords on every root.
The common shapes and the derived voicings come from different places, and both are explained in how this site is built.
Shows each chord the way this style would voice it, and marks which of its alternatives belong to the idiom.