1. The median and mode of the data set $4,5,6,7,7,8$ are ( ).
(A) 7,7
(B) $7,6.5$
(C) $5.5,7$
(D) $6.5,7$
1. D

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.