Gauss's Law is not a useful approach here.
Gauss's Law tells you the integrated value of the field component perpendicular to a surface. So you can only use this to solve for the field itself if you can use symmetry arguments to argue what components of the field are zero, and what the surfaces of constant field will look like. And as we will see in a moment, even this is not always enough.
You did not state the surface you integrated over, but it is important to remember:
$$ \int D \cdot da = 0 \ \ \not \Rightarrow \ \ D = 0 $$
Here the polarization is stated to be constant. So let's just choose our coordinate system so that $\hat{z}$ is in the direction of $P$, which should be parallel to the direction of E or D here. This has cylindrical symmetry. So drawing a cylindrical surface inside of the polarized sphere gives us something like this:
The sides will not contribute to the integral, and the top and bottom are opposed, which is why the integral is zero even though $D$ is not.
Unfortunately, this doesn't help us solve for $D$. So Gauss's Law is actually not the way to approach this.
Since you are reading from Griffith's, look at Example 4.2 and Example 4.3 for how to solve this. (err... assuming you have the same edition I guess)
One method is to calculate the bound charges from $P \cdot \hat{n}$, which here is $P \cos \theta$, and then calculate the electric field from that. This is a nice straight-forward approach.
The other example uses a slick superposition argument, along with reusing previous calculation of the overlap between two uniformly charged spheres, to almost directly argue what $E$ is, and from the dipole argue what $P$ is. If you have the book, this method is conceptually nice and I recommend a read through, but it may feel a bit hand-wavy compared to the "just calculate" method.