This one is a harmonized line, like you would find at the end of the tune "All of Me". In fact, it's exactly what I would play at the end of "All of Me"
The concept is simple, keep your melody note on the top, and put notes that sound the chord below it. Knowing a lot of chord voicings helps, but isn't completely necessary. You can get by if you know all of you drop 2 voicings in all of the inversions. The first bar are comprised entirely of Dm7 drop 2 voicings. I'm lucky that the melody only uses chord tones, so I didn't have to use any wonky voicings.
The next interesting thing I did happens over the first chord I play on bar 2. I decided to play a rootless Dm9 voicing, even though the chord is G7. This is a technique I use all the time when I'm soloing. I'm essentially substituting the ii chord for the V chord over the first half of the bar. The sounds are closely related. I look at Dm7 as a sort of G7sus4 sound. With that in mind, I can delay the resolution to that G7 sound for as long as I want. This helps with creating ideas that move across barlines.
The second chord in bar 2, is a rootles G13 voicing. If we're in the key of C, like we are here, I use this voicing all of the time if the top note is E over a G7 sound. You can do this over any V chord if the melody note sits on the 3rd. Quick sidebar, you should practice playing all of the common chords each note of the scale as the top note. This would be like playing a C major with C, D, E, F, G, A, and B as the top notes. Get used to those sounds, and find some shapes that are easy to grab. Then move on to D minor, and then E minor, then the rest of the common chords. This helps greatly when coming up with chord melody ideas. Having each note in the scale available with most of the common chord sounds.
The final chord is an Em11 voicing. I like quartal voicings, I like their open sound. To me, Em7 can function as a tonic chord in the key of C, and Em11 happens to contain a G note, so if we put that on top, we have the note we need. And it's an easy chord to grab. To quote the great Joe Pass, "I don't believe in playing anything that's real hard. If it's real hard, forget it."
This is a nice line to learn as an introduction to chord melody playing. Get familiar. Happy practicing.