Takes props for title, numerator, and total (denominator)