Line graph with smooth line

How can I make a line graph with smooth lines?

This is how it works. Within px.line() you can use the options: line_shape=β€œspline”.