Before revision: We introduce a fractal dimension for a metric space based on the persistent homology of  subsets of that space.
After revision: We introduce a fractal dimension for a metric space based on the persistent homology of extremal subsets of that space.