For a finite dimensional inner product space $V$, we know that $V^*$ has dimension $\dim(V)\dim(K) =\dim(V)$. To show that $D$ is onto, it suffices to exhibit a linearly independent subset of $\mathrm{Im}(D)$ with $\dim(V)$ elements.
To that end, let $\mathbf{v}_1,\ldots,\mathbf{v}_n$ be an orthonormal basis for $V$. Then note that $D(\mathbf{v}_i)(\mathbf{v}_j) = \delta_{ij}$ (Kronecker’s delta). If $\alpha_1D(\mathbf{v}_1)+\cdots+\alpha_nD(\mathbf{v}_n) = \mathbf{0}$, then evaluating at $\mathbf{v}_i$ we conclude that $\alpha_i=0$. Thus, these images are linearly independent, and hence form a basis for $V^*$. This shows $D$ is surjective.
We need to use finite dimensionality, since the algebraic dual of an infinite dimensional vector space is not isomorphic to the space (canonically or otherwise). See here for a proof. The finite dimensionality occurs twice in the above proof: the existence of an orthonormal basis, and the dimension of $V^*$.
\langleand\rangle, not<and>. – Arturo Magidin Nov 21 '20 at 01:35