Quantifying the distribution of feature values over data represented in arbitrary dimensional spaces