Explanation of earlier diagrams:
Queens: the f6-queen attacks c6, d4, d6, e5 and e6. The c4-queen attacks c5, c6, d4, d5, e4 and e6.
Rooks: the e6-rook attacks c6, d6, e4 and e5. The d3-rook attacks d4, d5 and d6.
Bishops: the f3-bishop attacks c6, d5 and e4. The d6-bishop attacks c5 and e5.
Knights: the f7-knight attacks d6 and e5. The e3-knight attacks c4 and d5.
Pawns: the e4-pawn attacks d5. The d4-pawn attacks c5 and e5.
King: the white king attacks c4, d4 and e4.