如图,⊙O为△ABC的外接圆,BC为直径,AC=AB,则∠D的度数为(  ) A.30° B.40° C.45° D.6