add spline approximation and show values on hover