SVG Path Functions
SVG paths are written as a single d attribute — a mini-language of commands and coordinates that describes shapes. Each command is a letter; uppercase means absolute coordinates, lowercase means relative to the current position. This is a reference for all path commands with examples, followed by a worked pie chart that puts the arc command through its paces.
The full MDN reference lives at developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths.
Move and Line Commands
M — Move To
M x y
Lifts the pen and moves to (x, y) without drawing. Every path starts with an M. On its own it’s invisible — it’s a positioning command.