The cosine function relates an angle in a right triangle to the adjacent side and hypotenuse. In a radial visualization, it converts an angle and radius into a vertical coordinate: y = radius × cos(θ). Because the SVG coordinate system points downward, the implementation multiplies the result by −1. section 14.5.1
Positioning month axes
A circle assigns each month an angle from 0 to nearly 2π. For every month, an SVG line starts at (0, 0), while its endpoint uses x = radius × sin(θ) and y = −radius × cos(θ). January begins at twelve o’clock, and the remaining axes spread around the circle. section 14.5.1


