I was curious about the "natural spline" part, since I haven't heard of those before. As usual when it comes to maths topics, Wikipedia was disappointing, but this article seems like a decent real-world example of how they work in practice: https://www.clayford.net/statistics/using-natural-splines-in-linear-modeling/
(just figured I'd share for anyone else who is curious)