SVG paths expose stroke-dasharray and stroke-dashoffset. Set the dash length to the path's full length so it becomes one long dash, offset it by that same length to hide it completely, then animate the offset down to zero — the line appears to draw itself like a pen stroke.
In After Effects, the Trim Paths effect on a shape layer does the same job: keyframing its Start, End, and Offset values draws or erases a line. Logo intros, handwritten signatures, and map-route animations almost all boil down to this one trick.
You need the path's exact length (via getTotalLength()) for the offset math to line up. Guess it wrong and the line either stops short or leaves a tail hanging at the end.
When to use
Draw it too slowly and it drags. Keep a short logomark to 0.6–1s; only give a complex map route more time than that.