Minimum embedding dimension from the perspective of persistent homology