The correct answer is D. To talk excessively.
To talk one's head off means to talk for a long time, often in a very enthusiastic or excited way. It can also mean to talk about something in great detail.
A. To talk loudly is not the same as talking excessively. Talking loudly can mean speaking at a high volume, but it does not necessarily mean speaking for a long time.
B. To talk in whispers is not the same as talking excessively. Talking in whispers can mean speaking very quietly, but it does not necessarily mean speaking for a long time.
C. To talk to oneself is not the same as talking excessively. Talking to oneself can mean speaking to oneself in a private conversation, but it does not necessarily mean speaking for a long time.