Data-intrinsic approximation in metric spaces