How to transform uv to radial shape

2024 update - the built in node VectorToRadialValue works, but it gives a nasty seam on the side.

I found a better solution in another forum post here - Polar Coordinate Material Function - #11 by simonschreibt

I copied the graph from the image posted there and I get a seamless radial material.