3 ms·
The apparent cubic spline used to join data points on http://embed.ly/stats http://embed.ly/stats looks a little ridiculous, especially when the popularity of s
by alainbryden 14y ago
The apparent cubic spline used to join data points on http://embed.ly/stats http://embed.ly/stats looks a little ridiculous, especially when the popularity of something takes off from 0 and your spline shows it first dipping to some negative number.
Maybe if you try using a quadratic spline? Mathematically it is almost just as trivial, so your performance should be unaffected, and in my experience it gets rid those embarrassing artifacts left by using cubic splines to join points representing exponential data.
- jemhoff 14y agoWhoops, you're right! I don't think I've ever noticed that before -- just changed it to a monotone cubic and it looks much better. Thanks! http://en.wikipedia.org/wiki/Monotone_cubic_interpolation http://en.wikipedia.org/wiki/Monotone_cubic_interpolation
- alainbryden 14y agoYeah that looks great.